Linting and formatting

CRLF > LF is REALLY annoying
This commit is contained in:
Aj - Thomas
2022-05-10 19:03:41 +02:00
parent 5d80d36be3
commit a0d86e2914
8 changed files with 26 additions and 36 deletions

View File

@@ -1,10 +1,9 @@
import { Card, FloatingTooltip, Tooltip, useMantineTheme } from '@mantine/core';
import { Card, useMantineTheme } from '@mantine/core';
import { IModule } from './modules';
export default function ModuleWrapper(props: any) {
const { module }: { module: IModule } = props;
const theme = useMantineTheme();
console.log(module.title);
return (
<Card
mx="sm"
@@ -12,10 +11,10 @@ export default function ModuleWrapper(props: any) {
shadow="sm"
style={{
// Make background color of the card depend on the theme
backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark[6] : "white",
backgroundColor: theme.colorScheme === 'dark' ? theme.colors.dark[6] : 'white',
}}
>
{<module.component />}
<module.component />
</Card>
);
}