diff --git a/src/pages/Announcement/Search_Public/SearchForm.js b/src/pages/Announcement/Search_Public/SearchForm.js index 56683ed..451c745 100644 --- a/src/pages/Announcement/Search_Public/SearchForm.js +++ b/src/pages/Announcement/Search_Public/SearchForm.js @@ -9,7 +9,7 @@ import { useForm } from "react-hook-form"; import * as React from "react"; import * as DateUtils from "utils/DateUtils"; import { ThemeProvider } from "@emotion/react"; -import { useNavigate } from "react-router-dom"; +// import { useNavigate } from "react-router-dom"; import { PNSPS_BUTTON_THEME } from "../../../themes/buttonConst"; import { FormattedMessage, useIntl } from "react-intl"; import { makeStyles } from '@mui/styles'; @@ -32,7 +32,7 @@ const useStyles = makeStyles(() => ({ })); const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { - const navigate = useNavigate() + // const navigate = useNavigate() const [minDate, setMinDate] = React.useState(searchCriteria.dateFrom); const [maxDate, setMaxDate] = React.useState(searchCriteria.dateTo); @@ -209,7 +209,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { {/*last row*/} - + {/* - + */} + Reset + + */} - - - - + + + + + {onLoad? + + + + : + + + Reset + - - - + + - - - - {/* - {onDownload? - - : - - } - */} - - } + + + + + + + + + + + + + + {/* + {onDownload? + + : + + } + */} + + } + +