Skip to content

Commit e05d1ec

Browse files
committed
make it functional component
1 parent 16d44ad commit e05d1ec

File tree

1 file changed

+2
-2
lines changed
  • packages/app/src/app/pages/Sandbox/Editor/Workspace/Dependencies/AddFont/FontPicker

1 file changed

+2
-2
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/Dependencies/AddFont/FontPicker/List.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ type Props = {
99
expanded: boolean;
1010
};
1111

12-
const FontList = ({
12+
const FontList: FunctionComponent<Props> = ({
1313
fonts,
1414
onSelection,
1515
activeFontFamily,
1616
expanded,
17-
}: Props) => {
17+
}) => {
1818
const [searchTerm, setSearchTerm] = useState('');
1919

2020
const updateSearch = (e: any) => setSearchTerm(e.target.value);

0 commit comments

Comments
 (0)