diff --git a/src/hooks/use-theme.ts b/src/hooks/use-theme.ts index 01bc4b00..ec81cf7a 100644 --- a/src/hooks/use-theme.ts +++ b/src/hooks/use-theme.ts @@ -62,7 +62,7 @@ const useTheme = (): [string, (theme: string) => void] => { let storedTheme = null; if (isInAllView || isInSubscriptionsView || isInModView) { - storedTheme = themes.sfw; + storedTheme = themes.nsfw; } else if (subplebbitAddress) { const subplebbit = subplebbits.find((s) => s.address === subplebbitAddress); if (subplebbit?.nsfw) { @@ -83,7 +83,7 @@ const useTheme = (): [string, (theme: string) => void] => { const setSubplebbitTheme = useCallback( async (newTheme: string) => { if (isInAllView || isInSubscriptionsView || isInModView) { - await setThemeStore('sfw', newTheme); + await setThemeStore('nsfw', newTheme); } else if (subplebbitAddress) { const subplebbit = subplebbits.find((s) => s.address === subplebbitAddress); if (subplebbit?.nsfw) { diff --git a/vercel.json b/vercel.json index 13e8506b..340c213e 100644 --- a/vercel.json +++ b/vercel.json @@ -4,3 +4,4 @@ ] } +