Skip to content

Commit 547525e

Browse files
committed
fix: correct comment unit from 500s to 500ms in Preview bundler listener
1 parent 40ea071 commit 547525e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/MDX/Sandpack/Preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ export function Preview({
121121
/**
122122
* The spinner component transition might be longer than
123123
* the bundler loading, so we only show the spinner if
124-
* it takes more than 500s to load the bundler.
124+
* it takes more than 500ms to load the bundler.
125125
*/
126126
timeout = setTimeout(() => {
127127
setShowLoading(true);

0 commit comments

Comments
 (0)