From 459a96f71167ad90131fa58a44217a9343db3e3d Mon Sep 17 00:00:00 2001 From: Elia el Lazkani Date: Wed, 25 Dec 2024 15:20:18 +0100 Subject: [PATCH] fix(): Fixes unexpected default export of anonymous function warning --- frontend/src/components/URLShortener/URLShortener.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/URLShortener/URLShortener.tsx b/frontend/src/components/URLShortener/URLShortener.tsx index 492a964..9f52852 100644 --- a/frontend/src/components/URLShortener/URLShortener.tsx +++ b/frontend/src/components/URLShortener/URLShortener.tsx @@ -4,7 +4,7 @@ import axios from "axios"; import { ToastContainer, toast } from "react-toastify"; import "react-toastify/dist/ReactToastify.css"; -export default function () { +export default function URLShortener() { const [url, setUrl] = useState(""); const [shortenedUrl, setShortenedUrl] = useState(""); const [showInput, setShowInput] = useState(false);