fix: address code review — complete fetch coverage, refresh timing, dedupe chunk detection

This commit is contained in:
ashim-hq
2026-04-20 22:18:27 +08:00
parent 5e1159fa75
commit da52088e39
4 changed files with 63 additions and 32 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { type ComponentType, lazy } from "react";
function isChunkError(error: unknown): boolean {
export function isChunkError(error: unknown): boolean {
if (!(error instanceof Error)) return false;
const msg = error.message.toLowerCase();
return (