Skip to content

Commit 7cee829

Browse files
committed
docs: Temporarily disable monaco til it can be fixed
1 parent be688a8 commit 7cee829

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
const usingMonaco =
2-
// React 18: perhaps this causes hydration problems.
3-
typeof navigator !== 'undefined' &&
4-
// crawler or mobile browser
5-
!/bot|googlebot|crawler|spider|robot|crawling|Mobile|Android|BlackBerry/i.test(
6-
navigator.userAgent,
7-
);
1+
const usingMonaco = false;
2+
// // React 18: perhaps this causes hydration problems.
3+
// typeof navigator !== 'undefined' &&
4+
// // crawler or mobile browser
5+
// !/bot|googlebot|crawler|spider|robot|crawling|Mobile|Android|BlackBerry/i.test(
6+
// navigator.userAgent,
7+
// );
88

99
export default usingMonaco;

0 commit comments

Comments
 (0)