This commit is contained in:
liamzi
2025-01-17 17:18:53 +08:00
parent 5f0ec367e0
commit f1fe46b11a

View File

@@ -182,7 +182,7 @@ export const AuthProvider = ({ children }) => {
}
};
const fetchMenuList = async (role) => {
console.log(role,'role');
if(!role||!user?.id) return;
try {
const { data, error } = await supabase
.from('resources')