File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
src/client/components/Admin/ChatInstances Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -245,8 +245,6 @@ const ChatInstanceTable = () => {
245
245
setOrderBy ( property )
246
246
}
247
247
248
- if ( isLoading ) return null
249
-
250
248
return (
251
249
< Box sx = { { width : '100%' } } >
252
250
< Paper sx = { { width : '100%' , mb : 2 } } >
@@ -278,12 +276,14 @@ const ChatInstanceTable = () => {
278
276
labelRowsPerPage = { t ( 'admin:rowsPerPage' ) }
279
277
/>
280
278
</ Box >
281
- < ChatInstanceTableChatInstanceWithTokens
282
- rows = { chatInstances }
283
- onRequestSort = { handleRequestSort }
284
- order = { order }
285
- orderBy = { orderBy }
286
- />
279
+ { ! isLoading && (
280
+ < ChatInstanceTableChatInstanceWithTokens
281
+ rows = { chatInstances }
282
+ onRequestSort = { handleRequestSort }
283
+ order = { order }
284
+ orderBy = { orderBy }
285
+ />
286
+ ) }
287
287
</ Paper >
288
288
</ Box >
289
289
)
You can’t perform that action at this time.
0 commit comments