parent
238ff58db9
commit
39a5a1e311
|
@ -144,7 +144,7 @@ export async function submit({
|
||||||
}
|
}
|
||||||
|
|
||||||
export function is13(state: CreateAccountState) {
|
export function is13(state: CreateAccountState) {
|
||||||
return getAge(state.birthDate) >= 18
|
return getAge(state.birthDate) >= 13
|
||||||
}
|
}
|
||||||
|
|
||||||
export function is18(state: CreateAccountState) {
|
export function is18(state: CreateAccountState) {
|
||||||
|
|
Loading…
Reference in New Issue