c1e515a13f
* Fix RefreshSnapshot component and make useRefreshSnapshot not a hook,…
3 lines
112 B
TypeScript
3 lines
112 B
TypeScript
import {useEditorStore} from './store'
|
|
|
|
export const refreshSnapshot = useEditorStore.getState().createSnapshot
|