Add possibility to load other results on click

This commit is contained in:
2020-07-24 13:58:02 +02:00
parent 2b415b5189
commit a27a6281a0
4 changed files with 32 additions and 25 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ export const Other = ({
}: {
image: string;
name: string;
handleClick: ((...args: any[]) => any) & ((event: MouseEvent) => void);
handleClick: (name: string) => void;
}) => {
return (
<Box
@@ -16,7 +16,7 @@ export const Other = ({
overflow='hidden'
align='center'
pad='small'
onClick={handleClick}
onClick={() => handleClick(name)}
>
<Heading
level='4'