Skip to content

Commit 5d0f155

Browse files
Apply review comment
1 parent fe7a984 commit 5d0f155

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

packages/demo/src/modules/ark-viewer/ArkViewer.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ export const arkViewerLoader: LoaderFunction = async ({
2222
}): Promise<ArkViewerLoaderData> => {
2323
const { id } = params;
2424

25-
// Simulate loading time
25+
/**
26+
* Simulate loading time
27+
* @todo In a real app, you would fetch the document by its id here
28+
*/
2629
await new Promise((resolve) => setTimeout(resolve, 1000));
2730

2831
if (!id) {

0 commit comments

Comments
 (0)