Skip to content

Commit 16d706d

Browse files
committed
Updated secret page
1 parent e8fe6ff commit 16d706d

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

‎src/app/brix/page.tsx‎

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,12 @@ import { useSettingStore } from "@stores";
1010

1111
export function BrixPage() {
1212

13-
const { isUnlocked, unlock, enable } = useSettingStore("BRIX", (state) => state);
13+
//const { isUnlocked, unlock, enable } = useSettingStore("BRIX", (state) => state);
1414
//const router = useRouter();
1515

1616
const { isBootVisible } = useBoot();
1717
const { currentTheme, font } = useTheme();
1818

19-
useEffect(() => {
20-
21-
if (!isUnlocked) {
22-
unlock();
23-
}
24-
25-
enable();
26-
27-
}, [isUnlocked, unlock, enable]);
28-
2919
const themeClassName = currentTheme ? currentTheme.className : 'default-theme';
3020
const fontClassName = font ? font.className : 'default-font';
3121
const clock = currentTheme?.clock;

0 commit comments

Comments
 (0)