mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
9 lines
215 B
TypeScript
9 lines
215 B
TypeScript
import { atom } from 'nanostores';
|
|
|
|
export const isAuthModalOpenStore = atom(false);
|
|
|
|
export const authModalStore = {
|
|
open: () => isAuthModalOpenStore.set(true),
|
|
close: () => isAuthModalOpenStore.set(false),
|
|
};
|