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 9c4a1b9 commit 9727de2Copy full SHA for 9727de2
src/components/ChatConnectLoadingSheet/ChatRequestFailSheet.tsx
@@ -6,9 +6,10 @@ import { useSheetStore } from '@/store/sheetStore';
6
7
function ChatRequestFailSheet() {
8
const navigate = useNavigate();
9
- const { currentRecord, closeAllSheets, closeSheet } = useSheetStore();
+ const { currentRecord, closeSheet } = useSheetStore();
10
const handleClickToHome = () => {
11
- closeAllSheets();
+ closeSheet('isRequestSendingSheetOpen');
12
+ closeSheet('isRequestReceivingSheetOpen');
13
navigate('/home');
14
};
15
return (
0 commit comments