This commit is contained in:
focp212@naver.com
2025-10-22 14:21:14 +09:00
parent 1e7f13d5cc
commit 556b3f2a6a
27 changed files with 178 additions and 397 deletions

View File

@@ -1,9 +1,7 @@
import '@/bridge';
import { router } from '@/shared/configs/sentry';
import { Toasts } from '@/shared/ui/toasts/toasts';
import { TopButton } from '@/widgets/top-button';
import { useInitTheme } from './hooks';
import { IOSStatusBar } from '@/widgets/ios-status-bar';
import { RouterProvider } from 'react-router-dom';
export const App = () => {

View File

@@ -1,20 +0,0 @@
import { notiBar } from '@/shared/lib';
import { useStore } from '@/shared/model/store';
import { useEffect } from 'react';
import { useShallow } from 'zustand/react/shallow';
export const useNotiBar = () => {
const [notiBarMessage, setNotiBarMessage] = useStore(
useShallow((state: any) => [
state.utilEventSlice.notiBarMessage,
state.utilEventSlice.setNotiBarMessage
])
);
useEffect(() => {
if(notiBarMessage) {
notiBar(notiBarMessage);
setNotiBarMessage('');
}
}, [notiBarMessage]);
};