Skip to content

Commit

Permalink
fix: fix format error
Browse files Browse the repository at this point in the history
  • Loading branch information
NewByVector committed Nov 24, 2023
1 parent 2cea81a commit e2388ee
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/secretnote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"setup:umi": "umi setup",
"lint:eslint": "eslint src",
"lint:stylelint": "stylelint 'src/**/*.{css,less}'",
"format:black": "python -m black --check src",
"build": "umi build",
"dev": "umi dev"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/secretnote/src/modules/layout/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@

.secretnote-sidebar {
position: relative;
overflow: hidden auto;
width: 100%;
height: 100%;
border-right: 1px solid var(--mana-secretnote-divider-color);
background-color: var(--mana-secretnote-sidebar-background);
overflow-x: hidden;
overflow-y: auto;

.ant-collapse-item {
border-bottom: 1px solid var(--mana-secretnote-divider-color);
Expand Down
1 change: 0 additions & 1 deletion packages/secretnote/src/modules/layout/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export enum PreviewLayoutArea {
}

const PreviewLayout: React.FC = () => {
console.log('xxx');
return (
<BoxPanel direction="top-to-bottom" className="secretnote-page">
<BoxPanel.Pane defaultSize={48} className="secretnote-page-header">
Expand Down
1 change: 1 addition & 0 deletions packages/secretnote/src/utils/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export async function readCsvFile(file: File): Promise<unknown> {
size: 400,
},
onLoading: (value) => {
// eslint-disable-next-line no-console
console.log(`upload progress ${(value * 100).toFixed(2) + '%'}`);
},
});
Expand Down

0 comments on commit e2388ee

Please sign in to comment.