search aldeias sucos master

This commit is contained in:
Raja Oktafrianto
2025-03-17 06:18:43 +07:00
parent 125e4441a1
commit bd2a4ff233
6 changed files with 536 additions and 126 deletions

View File

@ -4,7 +4,8 @@ import { ManageSucosContext } from './ManageSucosContext';
const useManageSucosContext = () => {
const context = useContext(ManageSucosContext);
if (!context) throw new Error('useManageSucosContext must be used within AuthProvider');
if (!context)
throw new Error('useManageSucosContext must be used within ManageSucosContextProvider');
return context;
};