Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux and ShGKme authored Jan 22, 2025
1 parent d61337f commit 541f542
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/NcButton/NcButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,14 @@ const emit = defineEmits<{
(e: 'update:pressed', pressed: boolean): void
}>()

const slots = useSlots()
import type { Slot } from 'vue'

Check failure on line 641 in src/components/NcButton/NcButton.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Import in body of module; reorder to top

Check failure on line 641 in src/components/NcButton/NcButton.vue

View workflow job for this annotation

GitHub Actions / NPM lint

'/home/runner/work/nextcloud-vue/nextcloud-vue/node_modules/vue/dist/vue.d.mts' imported multiple times

const slots = defineSlots<{
/** docs */
default?: Slot,
/** docs */
icon?: Slot,
}>()

// Make sure the component also works if the app does not use any router
// And if the app uses a router we need to make sure a `to` prop was passed to use to router
Expand Down

0 comments on commit 541f542

Please sign in to comment.