From e04ce91455bdbf92e663db45c87ddd1c84fe4fb3 Mon Sep 17 00:00:00 2001 From: socar-dini <0327jane@gmail.com> Date: Tue, 21 Nov 2023 21:31:44 +0900 Subject: [PATCH] fix: remove unused import --- docs-website/src/pages/_components/TownhallButton/index.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs-website/src/pages/_components/TownhallButton/index.jsx b/docs-website/src/pages/_components/TownhallButton/index.jsx index eff48cb01a532..8db2842125329 100644 --- a/docs-website/src/pages/_components/TownhallButton/index.jsx +++ b/docs-website/src/pages/_components/TownhallButton/index.jsx @@ -1,6 +1,5 @@ import React, { useState, useEffect } from 'react'; import styles from "./townhallbutton.module.scss"; -import useBaseUrl from "@docusaurus/useBaseUrl"; import clsx from "clsx"; import Link from "@docusaurus/Link"; @@ -26,7 +25,7 @@ const TownhallButton = () => { setShowButton(shouldShowButton); setCurrentMonth(monthText); - }, []); + }); return ( showButton && (