Skip to content

Commit

Permalink
Modified handleSearch for facilities/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ertush committed Nov 19, 2024
1 parent 4959fa4 commit 49a7212
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions pages/facilities/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,15 @@ function FacilityHome(props) {


mutate()
.then(_ => {
actions.resetForm({
values: {
q: ''
}
})
.then(ok => {

if(!!ok){
actions.resetForm({
values: {
q: ''
}
})
}
})


Expand Down

0 comments on commit 49a7212

Please sign in to comment.