Implement invite redemption page #54

Merged
sauceyred merged 3 commits from invite-page into main 2025-07-20 09:15:52 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit eb2af0f7ec - Show all commits

View file

@ -10,6 +10,7 @@
<script lang="ts" setup>
import Cropper from 'cropperjs';
import Button from '../UserInterface/Button.vue';
const props = defineProps({
imageSrc: String,

View file

@ -33,6 +33,7 @@
</template>
<script lang="ts" setup>
import CropPopup from '~/components/Popups/CropPopup.vue';
import UserPopup from '~/components/User/UserPopup.vue';
import Button from '~/components/UserInterface/Button.vue';
@ -41,7 +42,7 @@ import type { UserResponse } from '~/types/interfaces';
let newPfpFile: File;
const isCropPopupVisible = ref(false);
const cropImageSrc = ref("")
;
const { fetchUser } = useAuth();
const user: UserResponse | undefined = await fetchUser()