Skip to content

Commit 41c88bb

Browse files
committed
core&ui: fix
1 parent d142662 commit 41c88bb

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

packages/server/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ password:
3838
}
3939
const clientConfigDefault = yaml.dump({
4040
server: '',
41+
token: '',
4142
balloon: '',
4243
balloonLang: 'zh',
4344
balloonType: 80,
4445
printers,
45-
token: '',
4646
});
4747
fs.writeFileSync(configPath, isClient ? clientConfigDefault : serverConfigDefault);
4848
logger.error('Config file generated, please fill in the config.yaml');

packages/ui/app/pages/Commands.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import React from 'react';
2-
import { Button, Card, Divider, Group, Textarea, Title } from '@mantine/core';
2+
import {
3+
Button, Card, Divider, Group, Textarea, Title,
4+
} from '@mantine/core';
35
import { notifications } from '@mantine/notifications';
46

57
export default function Commands() {

packages/ui/app/pages/Logs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import React from 'react';
22
export default function Logs() {
3-
return <div></div>
4-
}
3+
return <div></div>;
4+
}

0 commit comments

Comments
 (0)