Add Tab title in whole application
This commit is contained in:
@@ -11,6 +11,7 @@ import Cookies from "js-cookie";
|
||||
import { useState } from "react";
|
||||
import { SubmitHandler, useForm } from "react-hook-form";
|
||||
import InputGroup from "../FormElements/InputGroup";
|
||||
import { ThemeToggleSwitch } from "../Layouts/header/theme-toggle";
|
||||
|
||||
export default function SigninWithPassword() {
|
||||
const isMutating = useIsMutating();
|
||||
@@ -28,6 +29,9 @@ export default function SigninWithPassword() {
|
||||
};
|
||||
return (
|
||||
<form onSubmit={handleSubmit(onSubmit)}>
|
||||
<div className="absolute right-4 top-4">
|
||||
<ThemeToggleSwitch />
|
||||
</div>
|
||||
<InputGroup
|
||||
type="username"
|
||||
disabled={!!isMutating}
|
||||
|
||||
Reference in New Issue
Block a user