Skip to content

Commit

Permalink
fix: type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ouuan committed Jun 3, 2022
1 parent 0c88d9b commit a787b1c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/ApplyModificationConfirmation.vue
Expand Up @@ -51,7 +51,7 @@ const diffCurrent = {
'last-applied': props.applied,
} as const;
const diffMode = ref('current-applied');
const diffMode = ref<keyof typeof diffPrev>('current-applied');
const diffOptions = [
{
Expand Down
2 changes: 1 addition & 1 deletion src/components/DialogWithIconButton.vue
Expand Up @@ -2,7 +2,7 @@
<n-button
circle
quaternary
:title="title"
v-bind="{ title }"
@click="showModal = true"
>
<template #icon>
Expand Down
2 changes: 1 addition & 1 deletion src/components/ExternalLink.vue
@@ -1,6 +1,6 @@
<template>
<n-a
:href="href"
v-bind="{ href }"
@click="onClick"
>
{{ title }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/UserSurvey.vue
Expand Up @@ -17,7 +17,7 @@
v-model:show="showModal"
title="User Survey"
preset="card"
show-directive="show"
display-directive="show"
:auto-focus="false"
:trap-focus="false"
style="max-width: calc(min(80vw, 500px));"
Expand Down

0 comments on commit a787b1c

Please sign in to comment.