Skip to content
Snippets Groups Projects
Commit 2e46a090 authored by Anders Høvik's avatar Anders Høvik
Browse files

Fix: change props-declaration from option to composition-API

parent db86e85c
Branches feature/userprofile-for-foreign-users
No related tags found
1 merge request!44Fix/pipeline
Pipeline #279512 failed
...@@ -3,9 +3,7 @@ ...@@ -3,9 +3,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
export default { defineProps<{ buttonText: string }>();
props: ['buttonText']
}
</script> </script>
<style scoped> <style scoped>
......
...@@ -3,9 +3,7 @@ ...@@ -3,9 +3,7 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
export default { defineProps<{ buttonText: string }>();
props: ['buttonText']
}
</script> </script>
<style scoped> <style scoped>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment