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

@@ -27,7 +27,7 @@ export default function Editor({
}: EditorProps) {
const [language, setLanguage] = useState<string>('plain');
const [readOnly, setReadOnly] = useState<boolean>(isMobile && !!pasteId);
const resetFunction = useRef<ResetFunction>();
const resetFunction = useRef<ResetFunction>(null);
const [theme, setTheme] = usePreference<keyof Themes>(
'theme',