fix(): Fixes unexpected default export of anonymous function warning

This commit is contained in:
Elia el Lazkani 2024-12-25 15:20:18 +01:00
parent a925c87872
commit 459a96f711

View file

@ -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<string>("");
const [shortenedUrl, setShortenedUrl] = useState<string>("");
const [showInput, setShowInput] = useState<boolean>(false);