Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Mar 7, 2024
1 parent d4c98d3 commit a8af37c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/components/content/Alert.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import type uiColors from '#ui-colors'
const props = defineProps({
title: { type: String },
icon: { type: String },
color: { type: String as PropType<(typeof uiColors)[number]> },
to: { type: String },
title: { type: String, required: true},
icon: { type: String, default: '' },
color: { type: String as PropType<(typeof uiColors)[number]>, required: true },
to: { type: String, default: '' },
})
const target = computed(() => (props.to?.startsWith('https://') ? '_blank' : ''))
Expand Down
2 changes: 1 addition & 1 deletion playground/server/api/cached.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export default cachedEventHandler(async (event) => {
export default cachedEventHandler(async () => {
return {
now: Date.now()
}
Expand Down

0 comments on commit a8af37c

Please sign in to comment.