Skip to content

Commit 298bbf9

Browse files
[autofix.ci] apply automated fixes
1 parent 967718e commit 298bbf9

File tree

12 files changed

+17311
-21343
lines changed

12 files changed

+17311
-21343
lines changed

dashboard/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
![license](https://img.shields.io/badge/license-MIT-blue.svg)
1717

1818
<a href="https://bloomui.com/product/tokyo-free-white-react-typescript-material-ui-admin-dashboard/"><img src="https://bloomui.s3.us-east-2.amazonaws.com/tokyo-free-white-react-typescript-material-ui-admin-dashboard.jpg" /></a>
19+
1920
</div>
2021

2122
<a href="https://bloomui.com/product/tokyo-free-white-react-typescript-material-ui-admin-dashboard/"><h3>Free React Typescript Admin Dashboard Template built with Material-UI</h3></a>
23+
2224
<p>
2325
This free and open source admin dashboard template is built for React and it’s bootstrapped from Facebook’s create-react-app. All NPM dependencies are up to date and it contains multiple fully customized components based on the popular frontend components framework, Material-UI.
2426
</p>
@@ -33,6 +35,7 @@ We’ve included a few page examples for most used user flows that will give you
3335
</p>
3436

3537
---
38+
3639
<h3>Updrade to PRO</h3>
3740

3841
<p>If you're looking for more features like translations, complex user flows, redux examples and more, we recommend taking a look at the premium version (Tokyo White Typescript Dashboard) on <a href="https://bloomui.com">bloomui.com</a></p>

dashboard/apollo.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ module.exports = {
33
client: {
44
service: {
55
name: 'codefox-backend1',
6-
localSchemaFile: './src/graphql/schema.gql',
6+
localSchemaFile: './src/graphql/schema.gql'
77
},
88
includes: ['./src/**/*.{js,ts,tsx}'],
9-
excludes: ['**/__tests__/**'],
10-
},
9+
excludes: ['**/__tests__/**']
10+
}
1111
};

dashboard/codegen.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const config: CodegenConfig = {
99
'typescript',
1010
'typescript-operations',
1111
'typescript-resolvers',
12-
'typescript-react-apollo',
12+
'typescript-react-apollo'
1313
],
1414
config: {
1515
withHooks: true,
@@ -21,19 +21,19 @@ const config: CodegenConfig = {
2121
nonOptionalTypename: true,
2222
preResolveTypes: true,
2323
namingConvention: {
24-
enumValues: 'keep',
24+
enumValues: 'keep'
2525
},
2626
scalars: {
27-
Date: 'Date',
28-
},
29-
},
30-
},
27+
Date: 'Date'
28+
}
29+
}
30+
}
3131
},
3232
hooks: {
3333
afterOneFileWrite: ['prettier --write'],
34-
afterAllFileWrite: ['echo "✨ GraphQL types generated successfully"'],
34+
afterAllFileWrite: ['echo "✨ GraphQL types generated successfully"']
3535
},
36-
watch: ['./src/graphql/schema.gql'],
36+
watch: ['./src/graphql/schema.gql']
3737
};
3838

3939
export default config;

dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@
8585
"eslint-plugin-react-hooks": "4.5.0",
8686
"prettier": "2.6.2"
8787
}
88-
}
88+
}

dashboard/src/content/applications/Users/profile/MyCards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function MyCards() {
9393
setSelectedValue(event.target.value);
9494
};
9595

96-
const handleDelete = () => { };
96+
const handleDelete = () => {};
9797

9898
return (
9999
<Card>

dashboard/src/content/applications/Users/profile/PopularTags.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
ListItemText,
1111
Avatar,
1212
useTheme,
13-
styled,
13+
styled
1414
} from '@mui/material';
1515

1616
const ListWrapper = styled(List)(

dashboard/src/content/applications/Users/profile/RecentActivity.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
Divider,
77
Avatar,
88
useTheme,
9-
styled,
9+
styled
1010
} from '@mui/material';
1111

1212
import ShoppingBagTwoToneIcon from '@mui/icons-material/ShoppingBagTwoTone';

dashboard/src/content/applications/Users/settings/SecurityTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
TableRow,
2424
TableContainer,
2525
useTheme,
26-
styled,
26+
styled
2727
} from '@mui/material';
2828

2929
import DoneTwoToneIcon from '@mui/icons-material/DoneTwoTone';

dashboard/src/lib/storage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export enum LocalStore {
22
accessToken = 'accessToken',
33
refreshToken = 'refreshToken',
4-
models = 'models',
4+
models = 'models'
55
}

dashboard/src/log/logger.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ export const logger = pino({
66
formatters: {
77
level(label) {
88
return { level: label.toUpperCase() };
9-
},
9+
}
1010
},
1111
transport: {
1212
target: 'pino-pretty',
1313
options: {
1414
colorize: true,
1515
translateTime: 'yyyy-mm-dd HH:MM:ss',
16-
ignore: 'pid,hostname',
17-
},
18-
},
16+
ignore: 'pid,hostname'
17+
}
18+
}
1919
});

0 commit comments

Comments
 (0)