Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jordandullier committed Sep 27, 2024
1 parent a9abf25 commit 07fcc4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stories/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
</div>
<div>
<span class="welcome" v-if="user">Welcome, <b>{{ user.name }}</b>!</span>
<my-button size="small" @click="$emit('logout')" label="Log out" v-if="user" />
<my-button size="small" @click="$emit('login')" label="Log in" v-if="!user" />
<my-button primary size="small" @click="$emit('createAccount')" label="Sign up" v-if="!user" />
<my-button size="small" @click="$emit('logout')" :label="{text: 'Log out'}" v-if="user" />
<my-button size="small" @click="$emit('login')" :label="{text: 'Log in'}" v-if="!user" />
<my-button primary size="small" @click="$emit('createAccount')" :label="{text: 'Sign up'}" v-if="!user" />
</div>
</div>
</header>
Expand Down

0 comments on commit 07fcc4b

Please sign in to comment.