Skip to content

Commit 5bdf50b

Browse files
committed
fix client only directives
1 parent 386838d commit 5bdf50b

File tree

13 files changed

+17
-16
lines changed

13 files changed

+17
-16
lines changed

packages/frontendmu-astro/src/components/MeetupSingle.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ let currentAlbum = fetchAlbumDetails(props.getCurrentEvent.album);
126126

127127
<RsvpToMeetup
128128
transition:persist
129-
client:only
129+
client:only="vue"
130130
meetupId={props.routeId}
131131
meetupDetails={props.getCurrentEvent}
132132
/>
@@ -303,7 +303,7 @@ let currentAlbum = fetchAlbumDetails(props.getCurrentEvent.album);
303303

304304
<div class="contain">
305305
<RsvpAttendeeList
306-
client:only
306+
client:only="vue"
307307
seatCapacity={props.getCurrentEvent.seats_available}
308308
meetupId={props.routeId}
309309
/>

packages/frontendmu-astro/src/components/NewHeader.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import MainMenu from "./MegaMenu.astro";
77

88
<MainMenu transition:persist>
99
<RandomColor slot="dock-right" />
10-
<ToggleTheme slot="dock-right" client:only />
11-
<LoggedUser slot="dock-right" client:only />
10+
<ToggleTheme slot="dock-right" client:only="vue" />
11+
<LoggedUser slot="dock-right" client:only="vue" />
1212
</MainMenu>
1313
<div id="sticky-observer" class="bg-transparent z-0 h-4 w-full top-32 relative">
1414
</div>

packages/frontendmu-astro/src/components/auth/RsvpToMeetup.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,8 @@ const currentEventRsvpDetail = arrayOfEventRsvpDetail && arrayOfEventRsvpDetail[
222222
<Suspense>
223223
<template v-if="isAttendingCurrentEvent && isAttendee">
224224
<div class="grid place-items-center">
225-
<AttendeeQRCode client:only v-if="!isVerified" :meetup-id="meetupId" :user-id="user!.id" />
225+
<AttendeeQRCode client:only="vue" v-if="!isVerified" :meetup-id="meetupId"
226+
:user-id="user!.id" />
226227
<div class="text-lg py-4 uppercase font-medium text-white px-4">
227228
Scan to verify {{ user?.full_name }}
228229
</div>

packages/frontendmu-astro/src/data/meetups-raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/frontendmu-astro/src/data/speakers-raw.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/frontendmu-astro/src/layouts/LayoutCustom.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ const props = Astro.props;
2222

2323
<slot />
2424
</Backdrop>
25-
<ToastMessage client:only />
25+
<ToastMessage client:only="vue" />
2626
</body>
2727
</html>

packages/frontendmu-astro/src/layouts/LayoutHome.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ const {
4141

4242
<Footer />
4343
</Backdrop>
44-
<ToastMessage client:only />
44+
<ToastMessage client:only="vue" />
4545
</body>
4646
</html>

packages/frontendmu-astro/src/layouts/LayoutSingleMeetup.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ const props = Astro.props;
2727

2828
<Footer />
2929
</Backdrop>
30-
<ToastMessage client:only />
30+
<ToastMessage client:only="vue" />
3131
</body>
3232
</html>

packages/frontendmu-astro/src/pages/admin/verify.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ const props = Astro.params;
77
---
88

99
<LayoutHome pageType="home">
10-
<AdminVerifyAttendee client:only />
10+
<AdminVerifyAttendee client:only="vue" />
1111
</LayoutHome>

packages/frontendmu-astro/src/pages/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import Bran from "../components/auth/Bran.vue";
1414

1515
<LayoutHome pageType="home">
1616
<HomeHero />
17-
<!-- <Hodor client:only />
18-
<Bran client:only /> -->
17+
<!-- <Hodor client:only="vue" />
18+
<Bran client:only="vue" /> -->
1919

2020
<HomeFeaturedSpeakers />
2121

packages/frontendmu-astro/src/pages/login.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import LayoutHome from "../layouts/LayoutCustom.astro";
99
<div
1010
class="flex min-h-full flex-1 flex-col justify-center py-12 sm:px-6 lg:px-8"
1111
>
12-
<LoginForm client:only />
12+
<LoginForm client:only="vue" />
1313
</div>
1414
</div>
1515
</LayoutHome>

packages/frontendmu-astro/src/pages/redirect.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import RefreshToken from "@components/auth/RefreshToken.vue";
66
<Layout>
77
<div class="mx-auto w-full grid items-center text-center">
88
<div class="flex flex-col justify-around">
9-
<RefreshToken client:only />
9+
<RefreshToken client:only="vue" />
1010
</div>
1111
</div>
1212
</Layout>

packages/frontendmu-astro/src/pages/user/me.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ import MyProfile from "../../components/auth/MyProfile.vue";
44
---
55

66
<LayoutSpeaker title={"Your Profile"}>
7-
<MyProfile client:only />
7+
<MyProfile client:only="vue" />
88
</LayoutSpeaker>

0 commit comments

Comments
 (0)