Skip to content

Commit

Permalink
feat: post-identification founder membership
Browse files Browse the repository at this point in the history
  • Loading branch information
cuixiaorui committed Jul 20, 2024
1 parent 3b6c398 commit 88cafee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/client/components/FoundingMemberNotice.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
</template>

<script setup lang="ts">
import { onMounted, ref } from "vue";
import { onMounted, ref, watchEffect } from "vue";
import { useUserStore } from "~/store/user";
Expand All @@ -35,6 +35,10 @@ onMounted(() => {
showNotice.value = shouldShowNotice();
});
watchEffect(() => {
showNotice.value = !userStore.isFounderMembership();
});
function dismissNotice() {
setNoticeDismissed();
showNotice.value = false;
Expand Down

0 comments on commit 88cafee

Please sign in to comment.