frontend: updating addNotification type hints

This commit is contained in:
Mose Müller
2023-10-30 13:26:25 +01:00
parent 3d42366ada
commit 7dcec88c9a
13 changed files with 13 additions and 13 deletions

View File

@@ -10,7 +10,7 @@ interface ButtonComponentProps {
readOnly: boolean;
docString: string;
mapping?: [string, string]; // Enforce a tuple of two strings
addNotification: (string) => void;
addNotification: (message: string) => void;
}
export const ButtonComponent = React.memo((props: ButtonComponentProps) => {