feat: migrated app store

This commit is contained in:
TrèsAbhi committed 2024-07-09 20:05:34 -05:00
1 parent 5aa4b262f8
commit cf841c9bb2
14 files changed
+156 -191

No files matched your search

+2 -2
View File
@@ -1,10 +1,10 @@
import { use, useMemo } from 'react';
import { useApp } from '../stores/app';
import * as App from '../stores/app';
let cache: Record<string, boolean> = {};
export function useAdExempt() {
const patreon = useApp((state) => state.logins.patreon);
const patreon = App.use((state) => state.logins.patreon);
const promise = useMemo(
() =>
new Promise<boolean>(async (resolve) => {