Skip to content

Commit

Permalink
toaster for no state
Browse files Browse the repository at this point in the history
  • Loading branch information
Aniket-Engg committed Dec 18, 2024
1 parent e42c0c6 commit 5f3b5b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/remix-ui/run-tab/src/lib/components/environment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function EnvironmentUI(props: EnvironmentProps) {
await props.runTabPlugin.call('fileManager', 'writeFile', `.states/saved_states/${vmStateName.current}.json`, JSON.stringify(currentStateDb, null, 2))
props.runTabPlugin.emit('vmStateSaved', vmStateName.current)
props.runTabPlugin.call('notification', 'toast', `VM state ${vmStateName.current} saved.`)
}
} else props.runTabPlugin.call('notification', 'toast', `VM state doesn't exist for selected environment.`)
},
intl.formatMessage({ id: 'udapp.cancel' }),
null
Expand Down

0 comments on commit 5f3b5b7

Please sign in to comment.