Skip to content

Commit

Permalink
Fix the build
Browse files Browse the repository at this point in the history
  • Loading branch information
ysbrandB committed May 27, 2024
1 parent 67c27fa commit 048280d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/js/Pages/Items/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {marked} from 'marked';
import {computed, ref} from "vue";
const props = defineProps<{
item?: Item;
item?: any;
}>();
const markdown = ref(props.item?.description??"");
Expand Down Expand Up @@ -80,7 +80,7 @@ const submit = () => {
<div class="relative w-full min-w-[200px]">
<textarea
:value="form.description"
@input="markdown = $event.target.value; form.description = $event.target.value;"
@input="markdown = ($event.target as HTMLInputElement).value; form.description = ($event.target as HTMLInputElement).value;"
id="description"
name="description"
type="description"
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Items/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import AuthenticatedLayout from "@/Layouts/AuthenticatedLayout.vue";
import NavLink from "@/Components/NavLink.vue";
defineProps<{
items: Item[];
items: any[];
}>();
</script>

Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Items/Show.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import AuthenticatedLayout from "@/Layouts/AuthenticatedLayout.vue";
import NavLink from "@/Components/NavLink.vue";
const props = defineProps<{
item: Item;
item: any;
}>();
import {ref} from 'vue'
Expand Down

0 comments on commit 048280d

Please sign in to comment.