feat: no limit display

This commit is contained in:
Tristan Yang
2022-09-22 12:59:23 +08:00
parent 6e0dfc7e3a
commit 5ffaeeb701
3 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import { useAppSelector } from "../../app/store";
const useLicense = () => {
const userCount = useAppSelector((store) => store.users.ids.length);
const { data: license } = useGetLicenseQuery();
const { data: license } = useGetLicenseQuery(undefined, { refetchOnMountOrArgChange: true });
const [check, { isLoading: isChecking, isSuccess: checked }] = useCheckLicenseMutation();
const [upsert, { isSuccess: upserted, isLoading: upserting }] = useUpsertLicenseMutation();
const checkLicense = (l: string) => {