update composer

This commit is contained in:
Ren Amamiya
2023-05-12 08:34:08 +07:00
parent 2804d25f06
commit 7bd38f3c74
7 changed files with 211 additions and 26 deletions

View File

@@ -1,3 +1,3 @@
import { atomWithReset } from 'jotai/utils';
import { atom } from 'jotai';
export const composerAtom = atomWithReset({ type: 'post', content: '' });
export const composerAtom = atom({ type: 'post' });