Don't warn the user if the endpoint is not set
This commit is contained in:
parent
c74a7b80ed
commit
a80f13cf8d
|
@ -65,11 +65,6 @@ function Home({ endpoint, setEndpoint, secure, setSecure }: HomeProps) {
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSubmit = async () => {
|
const handleSubmit = async () => {
|
||||||
if (!endpoint) {
|
|
||||||
showModal(true);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!rating) {
|
if (!rating) {
|
||||||
showModal(true);
|
showModal(true);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue