chore: update comments and documentation for clarity and consistency across various files
- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts. - Improved descriptions for better understanding of code functionality and purpose. - Ensured uniformity in terminology and phrasing throughout the codebase.
This commit is contained in:
@@ -17,7 +17,7 @@ export function ConfirmationStep({ group, providerName }: ConfirmationStepProps)
|
||||
const { refresh } = useAuth()
|
||||
|
||||
const goToDashboard = () => {
|
||||
// Revalida la caché (estado del onboarding, sesión, grupos) antes de redirigir.
|
||||
// Revalidates the cache (onboarding state, session, groups) before redirecting.
|
||||
void queryClient.invalidateQueries()
|
||||
void refresh()
|
||||
void navigate({ to: '/' })
|
||||
|
||||
@@ -35,7 +35,7 @@ export function OnboardingProvider({ children }: { children: ReactNode }) {
|
||||
useEffect(() => {
|
||||
const status = statusQuery.data
|
||||
if (!status) return
|
||||
// Si interrumpió después de conectar el cobro, retomamos en el paso del grupo.
|
||||
// If they dropped out after connecting payments, we resume at the group step.
|
||||
if (status.step === 'PAYMENT_CONNECTED') {
|
||||
setStep((current) => (current === 0 ? 2 : current))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user