Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

remove icon from accent submit button

Yee Jia Wei6632c0507b6a
diff --git a/components/AccentSubmitButton.tsx b/components/AccentSubmitButton.tsx
index 37f437f7..1d877873 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 && <FontAwesomeIcon icon={icon} className="h-5" />}
<p className="font-bold">{label}</p>
</button>
);