chore(web): update react and chakra versions

hopefully nothing broke that I didn't notice prayge
This commit is contained in:
Luke
2022-10-27 16:44:21 +02:00
parent 646473f755
commit a1d2607286
11 changed files with 1783 additions and 2752 deletions

View File

@@ -1,4 +1,4 @@
import { useToast, type ToastPositionWithLogical, Box, HStack, Text } from '@chakra-ui/react';
import { useToast, type ToastPosition, Box, HStack, Text } from '@chakra-ui/react';
import { useNuiEvent } from '../../hooks/useNuiEvent';
import { IconProp } from '@fortawesome/fontawesome-svg-core';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
@@ -7,7 +7,7 @@ export interface NotificationProps {
title?: string;
description?: string;
duration?: number;
position?: ToastPositionWithLogical;
position?: ToastPosition;
status?: 'info' | 'warning' | 'success' | 'error';
id?: number;
}
@@ -19,7 +19,7 @@ export interface CustomNotificationProps {
duration?: number;
icon?: IconProp;
iconColor?: string;
position?: ToastPositionWithLogical;
position?: ToastPosition;
id?: number;
type?: string;
}