Skip to content

Commit

Permalink
Organize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
OrigamingWasTaken committed Oct 8, 2024
1 parent a463ac0 commit 29fb70c
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"css.lint.unknownAtRules": "ignore",
"css.lint.unknownAtRules": "ignore"
}
4 changes: 2 additions & 2 deletions frontend/src/windows/main/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
import { Progress } from '$lib/components/ui/progress';
import { Skeleton } from '$lib/components/ui/skeleton/index.js';
import { Toaster } from '$lib/components/ui/sonner';
import { os, events } from '@neutralinojs/lib';
import { events, os } from '@neutralinojs/lib';
import { ModeWatcher, setMode } from 'mode-watcher';
import Sidebar from './Sidebar/Sidebar.svelte';
import Code from './components/Code.svelte';
import Onboarding from './components/Onboarding.svelte';
import Updater from './components/Updater.svelte';
import FlagEditorPage from './components/flag-editor/flag-editor-page.svelte';
import Dev from './pages/Dev.svelte';
import FastFlags from './pages/FastFlags.svelte';
import Support from './pages/Info.svelte';
Expand All @@ -18,7 +19,6 @@
import RobloxPage from './pages/Roblox.svelte';
import Roblox from './ts/roblox';
import { sleep } from './ts/utils';
import FlagEditorPage from './components/flag-editor/flag-editor-page.svelte';
import { focusWindow } from './ts/window';
let currentPage: string;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/windows/main/components/LoadingSpinner.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<script lang="ts">
import { cn } from '$lib/utils';
import CatGif from '@/assets/panel/cat.gif';
import { sleep } from '../ts/utils';
import { cn } from '$lib/utils';
let className = '';
export { className as class };
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/windows/main/components/Updater.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
import * as AlertDialog from '$lib/components/ui/alert-dialog/index.js';
import { Button } from '$lib/components/ui/button/index.js';
import { os } from '@neutralinojs/lib';
import compare from 'semver-compare';
import SvelteMarkdown from 'svelte-markdown';
import { toast } from 'svelte-sonner';
import { version } from '../../../../../package.json';
import { loadSettings, saveSettings } from './settings';
import { shell } from '../ts/tools/shell';
import { curlGet } from '../ts/utils';
import Link from './Link.svelte';
import { shell } from '../ts/tools/shell';
import compare from 'semver-compare';
import { loadSettings, saveSettings } from './settings';
let showUpdatePopup = false;
let updateVersion = version;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/windows/main/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import './ts/roblox';
import './ts/window';

// Imports
import { events, init, app as neuApp, os } from '@neutralinojs/lib';
import { events, init, app as neuApp } from '@neutralinojs/lib';
import { version } from '../../../../package.json';
import App from './App.svelte';
import { RPCController } from './ts/tools/rpc';
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/windows/main/ts/roblox/fflags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import Roblox from '.';
import { getAllProfiles, getSelectedProfile, type Profile } from '../../components/flag-editor';
import { getConfigPath, getValue, loadSettings } from '../../components/settings';
import type { SelectElement, SettingsOutput } from '../../components/settings/types';
import shellFS from '../tools/shellfs';
import { Notification } from '../tools/notifications';
import shellFS from '../tools/shellfs';

export type FastFlag = string | boolean | null | number;
export type FFs = { [key: string]: FastFlag };
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/windows/main/ts/roblox/launch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { Notification } from '../tools/notifications';
import { RPCController } from '../tools/rpc';
import { shell } from '../tools/shell';
import shellFS from '../tools/shellfs';
import { sleep } from '../utils';
import { focusWindow, setWindowVisibility } from '../window';
import onGameEvent from './events';
import { RobloxInstance } from './instance';
import { sleep } from '../utils';

let rbxInstance: RobloxInstance | null = null;

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/windows/main/ts/tools/notifications.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getValue } from '../../components/settings';
import { libraryPath } from '../libraries';
import { buildCommand, spawn, type SpawnEventEmitter } from './shell';
import { spawn, type SpawnEventEmitter } from './shell';

/**
* Represents an action that can be associated with a notification.
Expand Down

0 comments on commit 29fb70c

Please sign in to comment.