Skip to content

Commit

Permalink
Set explicit type for emsg
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Nov 24, 2023
1 parent bf1bc74 commit 073c2b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function ExistingApiKey(props: ExistingApiKeyProps) {
}, [input]);

const onError = useCallback(
emsg => {
(emsg: string) => {
props.alert.show('error', emsg);
},
[props.alert]
Expand Down

0 comments on commit 073c2b1

Please sign in to comment.