Skip to content

Commit 59d2fdc

Browse files
authored
Use composition Api in Error.vue Page (#795)
As discussed with @itamargiv the option of creating an automated test atm is too much overhead for the current task and will be addressed in the future as tech debt. Bug: T353719
1 parent d947a2a commit 59d2fdc

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

resources/js/Pages/Error.vue

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@
55
</div>
66
</template>
77

8-
<script>
9-
import { defineComponent } from 'vue';
10-
11-
export default defineComponent({
12-
props: {
13-
title: String,
14-
description: String
15-
}
16-
});
8+
<script setup lang="ts">
9+
defineProps<{title: string, description: string}>();
1710
</script>

0 commit comments

Comments
 (0)