Skip to content

Commit

Permalink
fix: fixing vue prop binding issue
Browse files Browse the repository at this point in the history
  • Loading branch information
technikhil314 committed Nov 28, 2021
1 parent a70412b commit 67d6de0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion components/navbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,10 @@
<script>
export default {
props: {
showBackButton: Boolean,
showBackButton: {
type: Boolean,
default: false,
},
},
data() {
return {
Expand Down
2 changes: 1 addition & 1 deletion pages/diff.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="contents">
<Navbar show-back-button="true">
<Navbar :show-back-button="true">
<template #right>
<button
type="button"
Expand Down

1 comment on commit 67d6de0

@vercel
Copy link

@vercel vercel bot commented on 67d6de0 Nov 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.