From a0af35916398d512c9b563bc19069d9ae4915036 Mon Sep 17 00:00:00 2001 From: Ren Amamiya <123083837+reyamir@users.noreply.github.com> Date: Fri, 3 Mar 2023 13:29:51 +0700 Subject: [PATCH] minor updates --- next.config.js | 3 +++ src/components/navigatorBar/index.tsx | 15 --------------- src/components/note/connector.tsx | 23 +++++++++++++++++++---- src/pages/feed/following.tsx | 2 +- 4 files changed, 23 insertions(+), 20 deletions(-) diff --git a/next.config.js b/next.config.js index 07e914ab..3bd71dbc 100644 --- a/next.config.js +++ b/next.config.js @@ -9,6 +9,9 @@ module.exports = removeImports({ typescript: { ignoreBuildErrors: true, }, + experimental: { + scrollRestoration: true, + }, webpack: (config) => { config.experiments = { ...config.experiments, topLevelAwait: true }; return config; diff --git a/src/components/navigatorBar/index.tsx b/src/components/navigatorBar/index.tsx index 8cd04bf7..83bbe7b7 100644 --- a/src/components/navigatorBar/index.tsx +++ b/src/components/navigatorBar/index.tsx @@ -12,7 +12,6 @@ export default function NavigatorBar() { return (