Skip to content

Commit

Permalink
refactor: optimize import order and so on
Browse files Browse the repository at this point in the history
  • Loading branch information
z0gSh1u committed Feb 11, 2025
1 parent 00ea2e2 commit 4df8329
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion packages/secretnote-scql/src/pages/scql-project/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

import { ManaAppPreset, ManaComponents } from '@difizen/mana-app';

import '@/lang';
import { PreviewLayoutModule } from '@/modules/layout';
import { SCQLBrokerModule } from '@/modules/scql-broker';
import { SCQLProjectModule } from '@/modules/scql-project';
import { StorageModule } from '@/modules/storage';
import { ThemeModule } from '@/modules/theme';

import '@/lang';
import '../../override.less';

const App = (): JSX.Element => {
Expand Down
3 changes: 2 additions & 1 deletion packages/secretnote-scql/src/pages/scql-workspace/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { ManaAppPreset, ManaComponents } from '@difizen/mana-app';

import '@/lang';
import { LayoutModule } from '@/modules/layout';
import { MarkdownCellModule } from '@/modules/markdown-editor';
import { NotebookModule } from '@/modules/notebook';
Expand All @@ -13,6 +12,8 @@ import { SCQLToolbarModule } from '@/modules/scql-toolbar';
import { StorageModule } from '@/modules/storage';
import { ThemeModule } from '@/modules/theme';
import { WelcomeModule } from '@/modules/welcome';

import '@/lang';
import '../../override.less';

const App = (): JSX.Element => {
Expand Down
4 changes: 3 additions & 1 deletion packages/secretnote-sf-site/src/pages/sf-preview/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import { SFPreview } from '../../../../secretnote-sf'; // use local version duri
import './index.less';

export default function App() {
const notebookFileURL = 'FILL_ME_WITH_YOUR_NOTEBOOK_FILE_URL';

return (
<div className="secretnote-sf-preview-container">
<SFPreview blobURL={'TODO'} readonly />
<SFPreview fileURL={notebookFileURL} readonly />
</div>
);
}

0 comments on commit 4df8329

Please sign in to comment.