Skip to content

Commit

Permalink
Merge pull request #216 from bcgov/clear-data-on-search
Browse files Browse the repository at this point in the history
clear data on dtid search
  • Loading branch information
mgtennant authored Jun 25, 2024
2 parents 21428af + b3b8870 commit 7b97091
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/app/content/pages/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ const LandingPage: FC = () => {
const fetchDataHandler = async () => {
setError(null);
setShowError(false);
setData(null);
setSelectedDocTypeId(null);
if (dtidInput) {
fetchData(dtidInput);
} else {
Expand Down

0 comments on commit 7b97091

Please sign in to comment.