Add possibility to load other results on click
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user