chore: clean git cache

This commit is contained in:
GitHub Actions
2026-01-02 01:01:54 +00:00
parent aae55a8ae9
commit 5ea207ab47
290 changed files with 62353 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
import { useContext } from 'react';
import { AuthContext } from '../context/AuthContextValue';
export const useAuth = () => {
const context = useContext(AuthContext);
if (context === undefined) {
throw new Error('useAuth must be used within an AuthProvider');
}
return context;
};