feat: update main chat and system chat UI
This commit is contained in:
14
src/App.tsx
14
src/App.tsx
@@ -26,13 +26,17 @@ function retryChunkLoadOnce(errorMessage: string) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (sessionStorage.getItem(CHUNK_LOAD_RETRY_SESSION_KEY) === '1') {
|
||||
try {
|
||||
if (sessionStorage.getItem(CHUNK_LOAD_RETRY_SESSION_KEY) === '1') {
|
||||
return false;
|
||||
}
|
||||
|
||||
sessionStorage.setItem(CHUNK_LOAD_RETRY_SESSION_KEY, '1');
|
||||
window.location.reload();
|
||||
return true;
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
|
||||
sessionStorage.setItem(CHUNK_LOAD_RETRY_SESSION_KEY, '1');
|
||||
window.location.reload();
|
||||
return true;
|
||||
}
|
||||
|
||||
function App() {
|
||||
|
||||
Reference in New Issue
Block a user