Skip to content

Commit 3c65794

Browse files
Fix React props error
1 parent d41c72f commit 3c65794

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

missing-persons-viewer-vite/src/App/pages/MissingPersons/MissingPersons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const MissingPersons = ({
3838
name="showOnlyMatching"
3939
id="showOnlyMatching"
4040
checked={searchParams.get('showOnlyMatching') === 'true'}
41-
onClick={() => {
41+
onChange={() => {
4242
setSearchParams((previous) => {
4343
const previousEntries = Object.fromEntries(previous);
4444
const showOnlyMatching =

0 commit comments

Comments
 (0)