From 21d99546c0e1a46e247877639408affdac09379b Mon Sep 17 00:00:00 2001 From: ChanLee_KR Date: Mon, 22 Jul 2024 15:10:55 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=9E=98=EB=AA=BB=EB=90=9C=20forwa?= =?UTF-8?q?rdRef=20=ED=83=80=EC=9E=85=20=EC=88=98=EC=A0=95=20(#ATR-571)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/features/filter-article/ui/FilterButton.tsx | 11 +++++------ .../subscribe-newsletter/ui/DefaultButton.tsx | 11 +++++------ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/apps/service/src/features/filter-article/ui/FilterButton.tsx b/apps/service/src/features/filter-article/ui/FilterButton.tsx index a75744bd..3c5481c0 100644 --- a/apps/service/src/features/filter-article/ui/FilterButton.tsx +++ b/apps/service/src/features/filter-article/ui/FilterButton.tsx @@ -1,21 +1,20 @@ 'use client' import React, { - DetailedHTMLProps, - InputHTMLAttributes, - LegacyRef, + type ButtonHTMLAttributes, + type DetailedHTMLProps, forwardRef, } from 'react' const FilterButton = forwardRef< - HTMLInputElement, + HTMLButtonElement, DetailedHTMLProps< - InputHTMLAttributes, + ButtonHTMLAttributes, HTMLButtonElement > & { active?: boolean } >(({ type, className, active: isActive = false, onClick, ...props }, ref) => (