💃🏻 Styling and fixing lint errors

This commit is contained in:
ajnart
2022-08-02 05:22:38 +02:00
parent c4d8fb2e00
commit 7c0c986564
2 changed files with 12 additions and 11 deletions

View File

@@ -1,11 +1,11 @@
import React from 'react'; import React from 'react';
import { PasswordInput, Anchor, Paper, Title, Text, Container, Group, Button } from '@mantine/core'; import { PasswordInput, Anchor, Paper, Title, Text, Container, Group, Button } from '@mantine/core';
import { setCookie } from 'cookies-next'; import { setCookie } from 'cookies-next';
import { useForm } from '@mantine/hooks';
import { showNotification, updateNotification } from '@mantine/notifications'; import { showNotification, updateNotification } from '@mantine/notifications';
import axios from 'axios'; import axios from 'axios';
import { IconCheck, IconX } from '@tabler/icons'; import { IconCheck, IconX } from '@tabler/icons';
import { useRouter } from 'next/router'; import { useRouter } from 'next/router';
import { useForm } from '@mantine/form';
// TODO: Add links to the wiki articles about the login process. // TODO: Add links to the wiki articles about the login process.
export default function AuthenticationTitle() { export default function AuthenticationTitle() {

View File

@@ -1,12 +1,13 @@
import { MantineProviderProps } from '@mantine/core'; import { MantineProviderProps } from '@mantine/core';
export const styles: MantineProviderProps['styles'] = { //TODO: Migarate this to v5.0
Checkbox: { // export const styles: MantineProviderProps['styles'] = {
input: { cursor: 'pointer' }, // Checkbox: {
label: { cursor: 'pointer' }, // input: { cursor: 'pointer' },
}, // label: { cursor: 'pointer' },
Switch: { // },
input: { cursor: 'pointer' }, // Switch: {
label: { cursor: 'pointer' }, // input: { cursor: 'pointer' },
}, // label: { cursor: 'pointer' },
}; // },
// };