Skip to content

Commit

Permalink
rename to isShown
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardBraham committed Oct 17, 2024
1 parent 5eb0703 commit bfd7b86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/components/app/toast-master/toast-master.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ function SwitchedNetworkToast() {
selectSwitchedNetworkNeverShowMessage,
);

const show = switchedNetworkDetails && !switchedNetworkNeverShowMessage;
const isShown = switchedNetworkDetails && !switchedNetworkNeverShowMessage;

return (
show && (
isShown && (
<Toast
key="switched-network-toast"
startAdornment={
Expand Down

0 comments on commit bfd7b86

Please sign in to comment.