From c71096cdabd6c9e68c82125f536b38b60750eb68 Mon Sep 17 00:00:00 2001 From: Danny Banks Date: Wed, 15 Nov 2023 00:15:50 -0800 Subject: [PATCH] chore(docs): hide expo snack for now (#4732) --- docs/next.config.js | 3 ++- .../components/home/sections/AuthenticationSection.tsx | 9 +++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/next.config.js b/docs/next.config.js index 6818b650d36..5399dfba57f 100644 --- a/docs/next.config.js +++ b/docs/next.config.js @@ -196,7 +196,8 @@ module.exports = withNextPluginPreval({ const defaultRemarkPlugins = [ // This needs to come first to import the code before other plugins require('remark-code-import'), - require('./src/plugins/remark-snackplayer'), + // Disabling snack until we fix it + // require('./src/plugins/remark-snackplayer'), require('remark-gfm'), require('remark-mdx-images'), [ diff --git a/docs/src/components/home/sections/AuthenticationSection.tsx b/docs/src/components/home/sections/AuthenticationSection.tsx index c8a5bf71b70..3bf184c83cb 100644 --- a/docs/src/components/home/sections/AuthenticationSection.tsx +++ b/docs/src/components/home/sections/AuthenticationSection.tsx @@ -199,10 +199,11 @@ export const AuthenticationSection = ({ platform }) => { {platform === 'react-native' ? ( - + // + <> ) : (