Skip to content

Commit

Permalink
feat:fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
AKother committed Feb 21, 2024
1 parent d06f83d commit bad9086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spx-gui/src/components/sounds/SoundEdit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ import { AudioDataService } from '@/util/wavesurfer-edit-data'
const props = defineProps({
asset: {
type: Sound,
required: true,
required: false,
}
})
Expand Down
2 changes: 1 addition & 1 deletion spx-gui/src/components/sounds/SoundHome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const soundStore = useSoundStore();
const assets: ComputedRef<Sound[]> = computed(
() => soundStore.list as Sound[],
);
const selectedSound = ref<Sound | null>(null);
const selectedSound = ref<Sound>();
const componentKey = ref(0);
const handleSelect = (asset: Sound) => {
Expand Down

0 comments on commit bad9086

Please sign in to comment.