refactor: run formatter

This commit is contained in:
Elias Schneider
2022-12-05 16:54:15 +01:00
parent 0499548dd3
commit 38f493ac5a
8 changed files with 16 additions and 13 deletions

View File

@@ -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>

View File

@@ -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">

View File

@@ -53,5 +53,5 @@ export default {
signUp,
signOut,
refreshAccessToken,
updatePassword
updatePassword,
};

View File

@@ -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;
};