mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix: address code review — complete fetch coverage, refresh timing, dedupe chunk detection
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user