mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-12-25 06:17:27 -05:00
fix(front): update initial state api url (#1132)
This commit is contained in:
parent
8348e185fc
commit
8a1b90f035
@ -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("");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user