Skip to content

Commit

Permalink
fix: import not found for ToastNotification
Browse files Browse the repository at this point in the history
Signed-off-by: Martichou <m@rtin.fyi>
  • Loading branch information
Martichou committed Aug 3, 2024
1 parent e208d68 commit a5e118a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions app/common/vue_lib/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import { ChannelAction } from '@martichou/core_lib';
export * from './types';
export * from './stores/useToastStore';

export { default as ToastNotification } from './components/ToastNotification.vue';

export function opt<T>(v?: T) {
return v ?? null;
}
Expand Down
4 changes: 3 additions & 1 deletion app/legacy/src/components/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,9 @@ import { Visibility } from '@martichou/core_lib/bindings/Visibility';
import { opt, ToDelete, stateToDisplay, autostartKey, DisplayedItem, _displayedItems, setAutoStart,
applyAutoStart, setRealClose, getRealclose, setVisibility, getVisibility, invertVisibility, clearSending,
removeRequest, sendInfo, sendCmd, blured, getProgress, setDownloadPath, getDownloadPath, getLatestVersion,
ToastNotification, useToastStore, ToastType} from 'vue_lib';
useToastStore, ToastType} from 'vue_lib';

import ToastNotification from 'vue_lib/src/components/organisms/ToastNotification.vue';

export default {
name: "HomePage",
Expand Down
4 changes: 3 additions & 1 deletion app/main/src/components/HomePage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,9 @@ import { Visibility } from '@martichou/core_lib/bindings/Visibility';
import { opt, ToDelete, stateToDisplay, autostartKey, DisplayedItem, _displayedItems, setAutoStart,
applyAutoStart, setRealClose, getRealclose, setVisibility, getVisibility, invertVisibility, clearSending,
removeRequest, sendInfo, sendCmd, blured, getProgress, setDownloadPath, getDownloadPath, getLatestVersion,
useToastStore, ToastType, ToastNotification} from 'vue_lib';
useToastStore, ToastType} from 'vue_lib';

import ToastNotification from 'vue_lib/src/components/organisms/ToastNotification.vue';

export default {
name: "HomePage",
Expand Down

0 comments on commit a5e118a

Please sign in to comment.