workaround webpack problem

Massimo Melina committed Mar 18, 2022 at 15:50 UTC e0932ff0daa3b5e68375cd574acbb1ac578e7aaf
2 files changed +2
admin/src/misc.ts
+1
@@ -8,6 +8,7 @@ import { SvgIconComponent } from '@mui/icons-material'
8 import { alertDialog } from './dialog'
9 import { apiCall } from './api'
10 import { useStateMounted } from '@hfs/shared'
11 +import {} from '@hfs/shared' // without this we get weird warnings by webpack
12 export * from '@hfs/shared'
13
14 export function spinner() {
frontend/src/misc.ts
+1
@@ -5,6 +5,7 @@ import { Spinner } from './components'
5 import { newDialog } from './dialog'
6 import { Icon } from './icons'
7 import { Dict } from '@hfs/shared'
8 +import {} from '@hfs/shared' // without this we get weird warnings by webpack
9 export * from '@hfs/shared'
10
11 export function hIcon(name: string, props?:any) {