refactor: run formatter
This commit is contained in:
@@ -88,7 +88,7 @@ const Body = ({
|
||||
mt="xs"
|
||||
labelPosition="left"
|
||||
label="Admin privileges"
|
||||
{...accountForm.getInputProps("isAdmin", {type: "checkbox"})}
|
||||
{...accountForm.getInputProps("isAdmin", { type: "checkbox" })}
|
||||
/>
|
||||
</Stack>
|
||||
</form>
|
||||
|
||||
@@ -58,7 +58,7 @@ const Account = () => {
|
||||
return (
|
||||
<Container size="sm">
|
||||
<Title order={3} mb="xs">
|
||||
My account
|
||||
My account
|
||||
</Title>
|
||||
<Paper withBorder p="xl">
|
||||
<Title order={5} mb="xs">
|
||||
|
||||
@@ -53,5 +53,5 @@ export default {
|
||||
signUp,
|
||||
signOut,
|
||||
refreshAccessToken,
|
||||
updatePassword
|
||||
updatePassword,
|
||||
};
|
||||
|
||||
@@ -8,14 +8,14 @@ type User = {
|
||||
export type CreateUser = {
|
||||
username: string;
|
||||
email: string;
|
||||
password: string,
|
||||
password: string;
|
||||
isAdmin?: boolean;
|
||||
};
|
||||
|
||||
export type UpdateUser = {
|
||||
username?: string;
|
||||
email?: string;
|
||||
password?: string,
|
||||
password?: string;
|
||||
isAdmin?: boolean;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user