Updated frontend dependencies
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -54,7 +54,7 @@ export function BaseFamilyRoute(): React.ReactElement {
|
||||
|
||||
const loadKey = React.useRef(1);
|
||||
|
||||
const loadPromise = React.useRef<() => void>();
|
||||
const loadPromise = React.useRef<() => void>(null);
|
||||
|
||||
const load = async () => {
|
||||
const familyID = Number(familyId);
|
||||
@ -104,7 +104,7 @@ export function BaseFamilyRoute(): React.ReactElement {
|
||||
build={() => {
|
||||
if (loadPromise.current != null) {
|
||||
loadPromise.current?.();
|
||||
loadPromise.current = undefined;
|
||||
loadPromise.current = null;
|
||||
}
|
||||
|
||||
return (
|
||||
|
@ -3,10 +3,9 @@ import Icon from "@mdi/react";
|
||||
import Avatar from "@mui/material/Avatar";
|
||||
import Box from "@mui/material/Box";
|
||||
import CssBaseline from "@mui/material/CssBaseline";
|
||||
import Grid from "@mui/material/Grid2";
|
||||
import Grid from "@mui/material/Grid";
|
||||
import Paper from "@mui/material/Paper";
|
||||
import Typography from "@mui/material/Typography";
|
||||
import * as React from "react";
|
||||
import { Link, Outlet } from "react-router-dom";
|
||||
import { DarkThemeButton } from "./DarkThemeButton";
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
import { Visibility, VisibilityOff } from "@mui/icons-material";
|
||||
import VisibilityIcon from "@mui/icons-material/Visibility";
|
||||
import VisibilityOffIcon from "@mui/icons-material/VisibilityOff";
|
||||
import {
|
||||
FormControl,
|
||||
FormHelperText,
|
||||
@ -50,7 +51,7 @@ export function PasswordInput(p: {
|
||||
onMouseDown={handleMouseDownPassword}
|
||||
edge="end"
|
||||
>
|
||||
{showPassword ? <VisibilityOff /> : <Visibility />}
|
||||
{showPassword ? <VisibilityOffIcon /> : <VisibilityIcon />}
|
||||
</IconButton>
|
||||
</InputAdornment>
|
||||
}
|
||||
|
@ -27,7 +27,7 @@ export function BaseAccommodationsRoute(): React.ReactElement {
|
||||
|
||||
const loadKey = React.useRef(1);
|
||||
|
||||
const loadPromise = React.useRef<() => void>();
|
||||
const loadPromise = React.useRef<() => void>(null);
|
||||
|
||||
const load = async () => {
|
||||
setAccommodations(
|
||||
@ -53,7 +53,7 @@ export function BaseAccommodationsRoute(): React.ReactElement {
|
||||
build={() => {
|
||||
if (loadPromise.current != null) {
|
||||
loadPromise.current?.();
|
||||
loadPromise.current = undefined;
|
||||
loadPromise.current = null;
|
||||
}
|
||||
|
||||
return (
|
||||
|
@ -22,7 +22,7 @@ export function BaseGenealogyRoute(): React.ReactElement {
|
||||
|
||||
const loadKey = React.useRef(1);
|
||||
|
||||
const loadPromise = React.useRef<() => void>();
|
||||
const loadPromise = React.useRef<() => void>(null);
|
||||
|
||||
const load = async () => {
|
||||
setMembers(await MemberApi.GetEntireList(family.familyId));
|
||||
@ -48,7 +48,7 @@ export function BaseGenealogyRoute(): React.ReactElement {
|
||||
build={() => {
|
||||
if (loadPromise.current != null) {
|
||||
loadPromise.current?.();
|
||||
loadPromise.current = undefined;
|
||||
loadPromise.current = null;
|
||||
}
|
||||
|
||||
return (
|
||||
|
Reference in New Issue
Block a user