text: import { useCallback } from 'react'
  
  export const useMessage = () => {
      return useCallback(text => {
          if (window.M && text) {
              window.M.toast({ html: text })
          }
      }, [])
  }
  