diff --git a/tsconfig.json b/tsconfig.json index 3eb304c..5226192 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,12 +3,10 @@ "compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "ags/gtk4", - "lib": [ - "ES2023" - ], + "lib": ["ES2023"], "module": "ES2022", "moduleResolution": "Bundler", "strict": true, "target": "ES2020" } -} \ No newline at end of file +} diff --git a/widget/QuickSettings.tsx b/widget/QuickSettings.tsx index 3bafeed..2d16fdf 100644 --- a/widget/QuickSettings.tsx +++ b/widget/QuickSettings.tsx @@ -3,7 +3,7 @@ import AstalNetwork from "gi://AstalNetwork?version=0.1" import AstalBluetooth from "gi://AstalBluetooth?version=0.1" import AstalWp from "gi://AstalWp?version=0.1" import { createBinding } from "ags" -import { execAsync, createSubprocess } from "ags/process" +import { execAsync } from "ags/process" function NetworkItem() { const network = AstalNetwork.Network.get_default()