mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Refactor: convert initializeApp to func component and use JSX transform in the codebase (#4056)
This commit is contained in:
parent
463857ad9a
commit
ff29780760
45 changed files with 20 additions and 70 deletions
|
@ -1,11 +1,5 @@
|
|||
import LanguageDetector from "i18next-browser-languagedetector";
|
||||
import React, {
|
||||
useCallback,
|
||||
useContext,
|
||||
useEffect,
|
||||
useRef,
|
||||
useState,
|
||||
} from "react";
|
||||
import { useCallback, useContext, useEffect, useRef, useState } from "react";
|
||||
import { trackEvent } from "../analytics";
|
||||
import { getDefaultAppState } from "../appState";
|
||||
import { ErrorDialog } from "../components/ErrorDialog";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue