mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: migrated app store
This commit is contained in:
1 parent
5aa4b262f8
commit
cf841c9bb2
14 files changed
+156
-191
No files matched your search
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user