mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-02 19:52:47 +00:00
fix(front): update initial state api url (#1132)
This commit is contained in:
@@ -11,7 +11,7 @@ import { PasswordInput } from "./password-input";
|
||||
import { ServerUrlPage } from "./server-url";
|
||||
|
||||
export const LoginPage = () => {
|
||||
const [apiUrl] = useQueryState("apiUrl", null);
|
||||
const [apiUrl] = useQueryState("apiUrl", "");
|
||||
const [username, setUsername] = useState("");
|
||||
const [password, setPassword] = useState("");
|
||||
const [error, setError] = useState<string | undefined>();
|
||||
|
||||
@@ -11,7 +11,7 @@ import { PasswordInput } from "./password-input";
|
||||
import { ServerUrlPage } from "./server-url";
|
||||
|
||||
export const RegisterPage = () => {
|
||||
const [apiUrl] = useQueryState("apiUrl", null);
|
||||
const [apiUrl] = useQueryState("apiUrl", "");
|
||||
const [email, setEmail] = useState("");
|
||||
const [username, setUsername] = useState("");
|
||||
const [password, setPassword] = useState("");
|
||||
|
||||
Reference in New Issue
Block a user