add search button for searching

This commit is contained in:
Wikzyy
2025-04-16 13:34:40 +07:00
parent d281ff0a9f
commit 95af177099
5 changed files with 61 additions and 11 deletions

View File

@ -8,7 +8,6 @@ const ListToolbar = () => {
const { table, reload } = useDataGrid();
const { handleAddDialog, handleSearchDialog } = useManagePostoAdmsContext();
const [searchPosto, setSearchPosto] = useState('');
const [searchMunicipio, setSearchMunicipio] = useState('');
const handleKeyDown = (event: React.KeyboardEvent) => {
if (event.key === 'Enter') {