Skip to content

Commit

Permalink
fix notistack crash
Browse files Browse the repository at this point in the history
Signed-off-by: CodeSafari <codesafari10@gmail.com>
  • Loading branch information
codeSafari10 committed Jun 15, 2024
1 parent b82d826 commit c5bbb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ class MesheryApp extends App {
}}
className={classes.action}
>
{action(key)}
{action && action?.(key)}
</div>
</div>
</SnackbarContent>
Expand Down

0 comments on commit c5bbb5f

Please sign in to comment.