From 74db553f0448bd9f20792374c520ec0b15d5fbc0 Mon Sep 17 00:00:00 2001 From: heapwolf Date: Tue, 23 Apr 2024 20:51:16 +0200 Subject: [PATCH] update imports --- src/components/confirm.js | 2 +- src/index.html | 1 - src/index.js | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/confirm.js b/src/components/confirm.js index 36c4f15..7589a2c 100644 --- a/src/components/confirm.js +++ b/src/components/confirm.js @@ -1,4 +1,4 @@ -import { TonicDialog } from 'npm:@socketsupply/components/dialog.js' +import { TonicDialog } from 'npm:@socketsupply/components/dialog' class DialogConfirm extends TonicDialog { async prompt (opts) { diff --git a/src/index.html b/src/index.html index 6f9731f..bd8f1f5 100644 --- a/src/index.html +++ b/src/index.html @@ -14,7 +14,6 @@ object-src 'none'; " > - diff --git a/src/index.js b/src/index.js index 96a8a9d..fd13c70 100644 --- a/src/index.js +++ b/src/index.js @@ -7,9 +7,9 @@ import vm from 'socket:vm' import { inspect, format } from 'socket:util' import { spawn, exec } from 'socket:child_process' -import Tonic from 'npm:@socketsupply/tonic' -import components from 'npm:@socketsupply/components' -import Indexed from 'npm:@socketsupply/indexed' +import Tonic from '@socketsupply/tonic' +import components from '@socketsupply/components' +import Indexed from '@socketsupply/indexed' import { Patch } from './git-data.js' import { cp, rm } from './lib/fs.js'