Basic crud working?

This commit is contained in:
Owen
2026-04-23 15:01:43 -07:00
parent fa117198a0
commit e7a9a19816
8 changed files with 80 additions and 104 deletions

View File

@@ -8,9 +8,7 @@ export function useSubscriptionStatusContext() {
}
const context = useContext(SubscriptionStatusContext);
if (context === undefined) {
throw new Error(
"useSubscriptionStatusContext must be used within an SubscriptionStatusProvider"
);
return null;
}
return context;
}