검증게시판 단계 추가
This commit is contained in:
+8
-3
@@ -43,7 +43,7 @@ function MainApp() {
|
||||
const defaults = resolveAppDefaults(settings);
|
||||
|
||||
useEffect(() => {
|
||||
if (!isLoaded || !defaults.fcmPushEnabled) return;
|
||||
if (!isLoaded) return;
|
||||
void initFcmPush({
|
||||
onForeground: (_title, _body, data) => {
|
||||
if (data?.market && data?.signalType) {
|
||||
@@ -67,7 +67,7 @@ function MainApp() {
|
||||
}
|
||||
},
|
||||
});
|
||||
}, [isLoaded, defaults.fcmPushEnabled, addNotification, refreshHistory, setTab, openVirtualFocus]);
|
||||
}, [isLoaded, addNotification, refreshHistory, setTab, openVirtualFocus]);
|
||||
|
||||
useEffect(() => {
|
||||
document.documentElement.setAttribute('data-theme', defaults.theme ?? 'dark');
|
||||
@@ -105,6 +105,7 @@ function AppRoot() {
|
||||
isAppEntered,
|
||||
handleLoginSuccess,
|
||||
handleGuestEnter,
|
||||
sessionKey,
|
||||
} = useAuth();
|
||||
const [nativeReady, setNativeReady] = useState(false);
|
||||
|
||||
@@ -136,7 +137,11 @@ function AppRoot() {
|
||||
|
||||
return (
|
||||
<NavigationProvider>
|
||||
<TradeNotificationProvider soundEnabled popupEnabled={false}>
|
||||
<TradeNotificationProvider
|
||||
soundEnabled
|
||||
popupEnabled={false}
|
||||
settingsSessionKey={sessionKey}
|
||||
>
|
||||
<MainApp />
|
||||
</TradeNotificationProvider>
|
||||
</NavigationProvider>
|
||||
|
||||
Reference in New Issue
Block a user