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
commit 735bc15011
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 7 deletions

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,