Upgrade dependencies

This commit is contained in:
Luck
2024-12-08 22:11:46 +00:00
parent 8936a95ef9
commit 6bf06ab651
6 changed files with 3349 additions and 2798 deletions

View File

@@ -1,6 +1,6 @@
import copy from 'copy-to-clipboard';
import history from 'history/browser';
import { MutableRefObject, useCallback, useEffect, useState } from 'react';
import { RefObject, useCallback, useEffect, useState } from 'react';
import styled from 'styled-components';
import themes, { Themes } from '../style/themes';
@@ -12,7 +12,7 @@ import MenuButton from './MenuButton';
export interface EditorControlsProps {
actualContent: string;
resetFunction: MutableRefObject<ResetFunction | undefined>;
resetFunction: RefObject<ResetFunction | null>;
language: string;
setLanguage: (value: string) => void;
readOnly: boolean;