mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-09-20 06:25:26 +00:00
Fix imports for hooks
This commit is contained in:
@@ -13,14 +13,14 @@ import {
|
||||
TextArea,
|
||||
} from "@douyinfe/semi-ui";
|
||||
import { IconSun, IconMoon } from "@douyinfe/semi-icons";
|
||||
import RichEditor from "../components/LexicalEditor/RichEditor";
|
||||
import { LexicalComposer } from "@lexical/react/LexicalComposer";
|
||||
import { editorConfig } from "../data/editorConfig";
|
||||
import { useLexicalComposerContext } from "@lexical/react/LexicalComposerContext";
|
||||
import { $generateHtmlFromNodes } from "@lexical/html";
|
||||
import { CLEAR_EDITOR_COMMAND } from "lexical";
|
||||
import axios from "axios";
|
||||
import { Link } from "react-router-dom";
|
||||
import RichEditor from "../components/LexicalEditor/RichEditor";
|
||||
import axios from "axios";
|
||||
|
||||
function SurveyForm({ theme }) {
|
||||
const [editor] = useLexicalComposerContext();
|
||||
|
@@ -1,12 +1,12 @@
|
||||
import { useEffect } from "react";
|
||||
import logo_light from "../assets/logo_light_160.png";
|
||||
import template_screenshot from "../assets/template_screenshot.png";
|
||||
import { Link } from "react-router-dom";
|
||||
import { Tabs, TabPane, Banner, Steps } from "@douyinfe/semi-ui";
|
||||
import { IconDeleteStroked } from "@douyinfe/semi-icons";
|
||||
import { db } from "../data/db";
|
||||
import { useLiveQuery } from "dexie-react-hooks";
|
||||
import Thumbnail from "../components/Thumbnail";
|
||||
import logo_light from "../assets/logo_light_160.png";
|
||||
import template_screenshot from "../assets/template_screenshot.png";
|
||||
|
||||
export default function Templates() {
|
||||
const defaultTemplates = useLiveQuery(() =>
|
||||
|
Reference in New Issue
Block a user