BUGFIX: Fix webstorm by using a mutationLock (#2542)

This commit is contained in:
David Walker
2026-03-06 11:11:06 -08:00
committed by GitHub
parent 90f6db6d24
commit b6a29681f4
10 changed files with 131 additions and 44 deletions
+5 -5
View File
@@ -243,7 +243,11 @@ export function NetworkDisplayWrapper(): React.ReactElement {
) : (
""
)}
{DarknetState.allowMutating ? (
{DarknetState.mutationLock ? (
<Typography variant={"h6"} className={classes.gold}>
[WEBSTORM WARNING]
</Typography>
) : (
<Box className={`${classes.inlineFlexBox}`}>
<Typography variant={"h5"} sx={{ fontWeight: "bold" }}>
Dark Net
@@ -265,10 +269,6 @@ export function NetworkDisplayWrapper(): React.ReactElement {
</Tooltip>
)}
</Box>
) : (
<Typography variant={"h6"} className={classes.gold}>
[WEBSTORM WARNING]
</Typography>
)}
<div