(bug) potential fix for safari issues – render <Profile> client-side

This commit is contained in:
Andrea Vos 2024-02-19 17:00:02 +00:00
parent 0dddc3ec95
commit 693e9b5ef1

View File

@ -27,7 +27,16 @@
<Profile :user="user" :profile="profile" :terms="terms" :expand-links="hasSus" />
</MarkSus>
-->
<Profile :user="user" :profile="profile" :terms="terms" />
<ClientOnly>
<Profile :user="user" :profile="profile" :terms="terms" />
<template #placeholder>
<div class="text-center" style="min-height: 400px">
<Spinner size="5rem" />
</div>
</template>
</ClientOnly>
<div v-if="profile.sensitive.length && contentWarningDismissed" class="text-center">
<ContentWarning
:warnings="profile.sensitive"