Skip to content

Commit

Permalink
type updateFilter as function
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazelf committed Sep 30, 2023
1 parent 8b54078 commit e5ac285
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/FamilySelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import React, { FC } from 'react';

interface FamilySelectorProps {
updateFilter: object;
updateFilter: Function;
}

const FamilySelector: FC<FamilySelectorProps> = ({ updateFilter }) => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/SynthContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const SynthContainer = () => {

const updateFilter = (family: string) => {
setFilterFamily(family);
}
};

return (
<div className="home-container">
Expand Down

0 comments on commit e5ac285

Please sign in to comment.