mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-18 05:34:09 +00:00
15 lines
373 B
TypeScript
15 lines
373 B
TypeScript
import { useDialogStore } from '../../../common/stores/dialogStore';
|
|
|
|
import Welcome from './Welcome';
|
|
|
|
export default function WelcomePlacement() {
|
|
const showDialog = useDialogStore((state) => state.showDialog);
|
|
const clearDialog = useDialogStore((state) => state.clearDialog);
|
|
|
|
if (!showDialog) {
|
|
return null;
|
|
}
|
|
|
|
return <Welcome onClose={clearDialog} />;
|
|
}
|