diff --git a/app/components/ReportForm.vue b/app/components/ReportForm.vue index 5b570c6..db722e6 100644 --- a/app/components/ReportForm.vue +++ b/app/components/ReportForm.vue @@ -660,6 +660,7 @@ watch([() => form.value.latitude, () => form.value.longitude], ([newLat, newLng] height: 300px; width: 100%; z-index: 1; + overflow: hidden; } .address-suggestions { diff --git a/app/composables/useAuth.ts b/app/composables/useAuth.ts index 057371b..e9369ae 100644 --- a/app/composables/useAuth.ts +++ b/app/composables/useAuth.ts @@ -1,11 +1,17 @@ import type { CieSessionResponse, CieStartResponse, - CurrentUserResponse, EmailRequest, NotificationListResponse, + CurrentUserResponse, + EmailRequest, + NotificationListResponse, OkResponse, - OtpRequestResponse, RegisterCitizenRequest, - RegisterCitizenResponse, RewardsResponse, - TokenResponse, VerifyOtpRequest, UpdateProfileRequest + OtpRequestResponse, + RegisterCitizenRequest, + RegisterCitizenResponse, + RewardsResponse, + TokenResponse, + UpdateProfileRequest, + VerifyOtpRequest } from "~/types/api"; export const useAuth = () => { @@ -66,6 +72,7 @@ export const useAuth = () => { token.value = jwtToken tokenState.value = jwtToken await syncUser({ redirectOnSuccess: true }) + window.location.reload(); } const logout = () => {