import { toDirective, useAutorunValue } from './utils'; import Close from '../../icons/ic_close.svg'; import { AppState } from '@/ui_models/app_state'; type Props = { appState: AppState }; function NoAccountWarning({ appState }: Props) { const canShow = useAutorunValue(() => appState.noAccountWarning.show, [ appState, ]); if (!canShow) { return null; } return (

Data not backed up

Sign in or register to back up your notes.

); } export const NoAccountWarningDirective = toDirective(NoAccountWarning);