Skip to content

Commit

Permalink
perf: an attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Aug 3, 2023
1 parent 352dd64 commit a66699a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions components/dashboard/UpcomingEvents.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,7 @@ const attributes = computed(() => events.value?.map(e => ({
<div>
<Skeleton v-if="eventsIsLoading" height="300px" />
<div v-else>
<Calendar
:attributes="attributes"
title-position="left"
borderless
transparent
expanded
:is-dark="isDark"
/>
<Calendar :attributes="attributes" title-position="left" borderless transparent expanded :is-dark="isDark" />

<NuxtLink prefetch :to="`/dashboard/${props.groupId}/events/new`">
<Button label="Create" />
Expand Down
2 changes: 1 addition & 1 deletion pages/dashboard/[groupId]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Tab = {
Upcoming events
</h3>

<DashboardUpcomingEvents
<LazyDashboardUpcomingEvents
:group-id="
route.params.groupId as string
"
Expand Down

0 comments on commit a66699a

Please sign in to comment.