mirror of
https://github.com/outline/outline.git
synced 2026-11-21 05:24:03 +03:00
Moves lazyWithRetry to shared/utils so the editor's ColorSwatch and Mentions components can use it instead of React.lazy, avoiding the Suspense reveal throttle once the chunk is loaded.
6 lines
171 B
TypeScript
6 lines
171 B
TypeScript
import lazyWithRetry from "@shared/utils/lazyWithRetry";
|
|
|
|
const MultiplayerEditor = lazyWithRetry(() => import("./MultiplayerEditor"));
|
|
|
|
export default MultiplayerEditor;
|