Fix toast call
This commit is contained in:
@ -67,7 +67,7 @@ export default function () {
|
||||
errorMessage = ((await eventResp.json()) as { error: string }).error;
|
||||
} catch {}
|
||||
|
||||
useToast({
|
||||
toast({
|
||||
description: errorMessage,
|
||||
isClosable: true,
|
||||
status: "error",
|
||||
|
Reference in New Issue
Block a user