-import React, {useMemo, useState} from 'react'
+import React, {useEffect, useMemo, useState} from 'react'
 import {useTracker} from 'meteor/react-meteor-data'
 
 import {useRefTooltip} from './lib/tooltip'

    body: @body
    group: @group
    editing: @editing  ## to list other editors
    editStopping: Template.instance().editStopping.get()
    editTitle: Template.instance().editTitle.get()
    editBody: Template.instance().editBody.get()
  hideIfEditing: ->


  'click .focusButton': (e) -> $(e.currentTarget).tooltip 'hide'

  'click .togglePreview': (e, t) ->
    e.preventDefault()
    e.stopPropagation()
