Fixed bug loading history call widget

This commit is contained in:
AmirHossein Mahmoodi
2023-11-01 10:36:11 +03:30
parent ac14215fe7
commit a7383db6a6

View File

@@ -26,10 +26,10 @@ const CallHistory = ({tab}) => {
}}>
<HistoryHeader tab={tab}/>
<Stack sx={{height: "100%", overflow: "scroll"}}>
{errorHistoryList ? (
<ErrorOrEmpty isErrorOrEmpty="error"/>
) : isLoadingHistoryList ? (
{isLoadingHistoryList ? (
<LoadingHistory/>
) : errorHistoryList ? (
<ErrorOrEmpty isErrorOrEmpty="error"/>
) : !firstItemOfHistory ? (
<ErrorOrEmpty isErrorOrEmpty="empty"/>
) : (