fix(): Fixes unexpected default export of anonymous function warning
This commit is contained in:
parent
a925c87872
commit
459a96f711
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import axios from "axios";
|
||||||
import { ToastContainer, toast } from "react-toastify";
|
import { ToastContainer, toast } from "react-toastify";
|
||||||
import "react-toastify/dist/ReactToastify.css";
|
import "react-toastify/dist/ReactToastify.css";
|
||||||
|
|
||||||
export default function () {
|
export default function URLShortener() {
|
||||||
const [url, setUrl] = useState<string>("");
|
const [url, setUrl] = useState<string>("");
|
||||||
const [shortenedUrl, setShortenedUrl] = useState<string>("");
|
const [shortenedUrl, setShortenedUrl] = useState<string>("");
|
||||||
const [showInput, setShowInput] = useState<boolean>(false);
|
const [showInput, setShowInput] = useState<boolean>(false);
|
||||||
|
|
Loading…
Reference in a new issue