Connect, collaborate, and grow with a community of TypeScript developers
chore: add toast description for clarification (#1709)
Mehdief73c03663cf
diff --git a/packages/monaco/src/index.tsx b/packages/monaco/src/index.tsxindex b79d46a1..729c2300 100644--- a/packages/monaco/src/index.tsx+++ b/packages/monaco/src/index.tsx@@ -91,6 +91,9 @@ export function CodePanel(props: CodePanelProps) {toast({variant: 'destructive',title: 'You are unable to submit.',+ description: props.submissionDisabled+ ? 'Please login to submit'+ : 'Please wait for the editor to load before submitting',});return;}