We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8391da commit 6fb18fcCopy full SHA for 6fb18fc
src/components/ui/coaching-sessions/coaching-notes.tsx
@@ -328,11 +328,7 @@ const handleEditorContentError = (error: unknown) => {
328
console.error("Editor content error:", error);
329
330
// Show user-friendly error message via toast
331
- if (error instanceof TypeError && error.message.includes("Expected table token")) {
332
- toast.error("Unable to paste table. The table format may be invalid.");
333
- } else {
334
- toast.error("An error occurred while editing. Please try again.");
335
- }
+ toast.error("An error occurred while editing. Please try again.");
336
};
337
338
export { CoachingNotes };
0 commit comments