diff --git a/src/pages/developers/tutorials.tsx b/src/pages/developers/tutorials.tsx
index 9a50d91eaec..1b148bc4746 100644
--- a/src/pages/developers/tutorials.tsx
+++ b/src/pages/developers/tutorials.tsx
@@ -1,10 +1,16 @@
-import React, { HTMLAttributes, useEffect, useMemo, useState } from "react"
+import React, {
+ type ButtonHTMLAttributes,
+ forwardRef,
+ HTMLAttributes,
+ useEffect,
+ useMemo,
+ useState,
+} from "react"
import { GetStaticProps, InferGetServerSidePropsType } from "next"
import { useRouter } from "next/router"
import { useTranslation } from "next-i18next"
import { serverSideTranslations } from "next-i18next/serverSideTranslations"
import { FaGithub } from "react-icons/fa"
-import { forwardRef } from "@chakra-ui/react"
import { BasePageProps, Lang } from "@/lib/types"
@@ -45,22 +51,25 @@ type LinkFlexProps = FlexProps & {
href: string
}
-const FilterTag = forwardRef<{ isActive: boolean; name: string }, "button">(
- (props, ref) => {
- const { isActive, name, ...rest } = props
- return (
-
- {name}
-
- )
- }
-)
+const FilterTag = forwardRef<
+ HTMLButtonElement,
+ { isActive: boolean; name: string } & ButtonHTMLAttributes
+>((props, ref) => {
+ const { isActive, name, ...rest } = props
+ return (
+
+ {name}
+
+ )
+})
+
+FilterTag.displayName = "FilterTag"
const Text = ({ className, ...props }: HTMLAttributes) => (