fix: empty heading crash on edit msg (#2929)

* fix crash when editing message with empty trailing heading

* remove unused imports
This commit is contained in:
Ajay Bura
2026-05-11 22:59:43 +10:00
committed by GitHub
parent 337ec82211
commit 2121745537
3 changed files with 6 additions and 7 deletions
-1
View File
@@ -1,6 +1,5 @@
import React, { ReactNode, useCallback, useRef } from 'react';
import { useAtomValue, useSetAtom } from 'jotai';
import { config } from 'folds';
import {
CallEmbedContextProvider,
CallEmbedRefContextProvider,