mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Review settings upgrades before applying defaults
Adds a review modal for settings upgrades, keeps the settings banner reviewable, and preserves explicit router settings during account import.
This commit is contained in:
@@ -63,6 +63,7 @@ const DirectoryModal = lazy(() => import('./components/directory-modal'));
|
||||
const DisclaimerModal = lazy(() => import('./components/disclaimer-modal'));
|
||||
const ReplyModal = lazy(() => import('./components/reply-modal'));
|
||||
const SettingsModal = lazy(() => import('./components/settings-modal'));
|
||||
const SettingsUpgradeModal = lazy(() => import('./components/settings-upgrade-modal'));
|
||||
|
||||
// Preload all theme assets (buttons, backgrounds) immediately on app load
|
||||
// to prevent visible loading delays when switching themes
|
||||
@@ -225,6 +226,9 @@ const GlobalLayout = () => {
|
||||
<Suspense fallback={null}>
|
||||
<ChallengeModal />
|
||||
</Suspense>
|
||||
<Suspense fallback={null}>
|
||||
<SettingsUpgradeModal />
|
||||
</Suspense>
|
||||
{activeCid && threadCid && activeCommunityAddress && (
|
||||
<Suspense fallback={null}>
|
||||
<ReplyModal
|
||||
|
||||
Reference in New Issue
Block a user