Skip to content

Commit

Permalink
Merge pull request #11186 from codeSafari10/notistack-crash
Browse files Browse the repository at this point in the history
fix notistack crash
  • Loading branch information
aabidsofi19 committed Jun 15, 2024
2 parents b82d826 + c5bbb5f commit ff94671
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 ff94671

Please sign in to comment.