mirror of
https://github.com/System-End/site.git
synced 2026-04-19 23:22:49 +00:00
Fixes
This commit is contained in:
parent
e74852555a
commit
036b49b9c4
1 changed files with 5 additions and 5 deletions
|
|
@ -205,14 +205,14 @@ const FilterPanel = ({ filter, mobile, clearOffset }) => {
|
|||
},
|
||||
width: 'fit-content'
|
||||
}}
|
||||
onClick={() =>
|
||||
onClick={() => {
|
||||
router.push(
|
||||
availableCategory.index
|
||||
? `/fiscal-sponsorship/directory/`
|
||||
: `/fiscal-sponsorship/directory/${availableCategory.id}/${region || ''}`
|
||||
);
|
||||
clearOffset()
|
||||
}
|
||||
clearOffset();
|
||||
}}
|
||||
>
|
||||
<Flex
|
||||
sx={{
|
||||
|
|
@ -306,12 +306,12 @@ const FilterPanel = ({ filter, mobile, clearOffset }) => {
|
|||
},
|
||||
width: 'fit-content'
|
||||
}}
|
||||
onClick={() =>
|
||||
onClick={() => {
|
||||
router.push(
|
||||
`/fiscal-sponsorship/directory/${category || 'organizations'}/${kebabCase(availableRegion.label)}`
|
||||
);
|
||||
clearOffset();
|
||||
}
|
||||
}}
|
||||
>
|
||||
<Flex
|
||||
sx={{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue