Rework licensing flows to be more friendly

This commit is contained in:
Gregory Schier committed 2025-09-29 15:40:15 -07:00
1 parent 7262eccac5
commit 6c79c1ef3f
15 files changed
+133 -79

No files matched your search

-15
View File
@@ -1,15 +0,0 @@
import { useKeyValue } from './useKeyValue';
interface LicenseConfirmation {
hasDismissedTrial: boolean;
confirmedPersonalUse: boolean;
}
export function useLicenseConfirmation() {
const { set, value } = useKeyValue<LicenseConfirmation>({
key: 'license_confirmation',
fallback: { hasDismissedTrial: false, confirmedPersonalUse: false },
});
return [value, set] as const;
}