From 6632c0507b6a75dae6067f22d3668c9ed884c18e Mon Sep 17 00:00:00 2001 From: Yee Jia Wei Date: Mon, 18 Dec 2023 05:42:25 +0800 Subject: [PATCH] remove icon from accent submit button as it is not used currently --- components/AccentSubmitButton.tsx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/AccentSubmitButton.tsx b/components/AccentSubmitButton.tsx index 37f437f..1d87787 100644 --- a/components/AccentSubmitButton.tsx +++ b/components/AccentSubmitButton.tsx @@ -1,9 +1,5 @@ -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; -import { IconProp } from "@fortawesome/fontawesome-svg-core"; - type Props = { onClick?: Function; - icon?: IconProp; label: string; loading?: boolean; className?: string; @@ -12,7 +8,6 @@ type Props = { export default function AccentSubmitButton({ onClick, - icon, label, loading, className, @@ -28,7 +23,6 @@ export default function AccentSubmitButton({ if (loading !== undefined && !loading && onClick) onClick(); }} > - {icon && }

{label}

);