fix: EventBoundary import
This commit is contained in:
@@ -8,11 +8,11 @@ import { useTranslation } from "react-i18next";
|
|||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import styled, { css } from "styled-components";
|
import styled, { css } from "styled-components";
|
||||||
import breakpoint from "styled-components-breakpoint";
|
import breakpoint from "styled-components-breakpoint";
|
||||||
|
import EventBoundary from "@shared/components/EventBoundary";
|
||||||
import { s } from "@shared/styles";
|
import { s } from "@shared/styles";
|
||||||
import Document from "~/models/Document";
|
import Document from "~/models/Document";
|
||||||
import Badge from "~/components/Badge";
|
import Badge from "~/components/Badge";
|
||||||
import DocumentMeta from "~/components/DocumentMeta";
|
import DocumentMeta from "~/components/DocumentMeta";
|
||||||
import EventBoundary from "~/components/EventBoundary";
|
|
||||||
import Flex from "~/components/Flex";
|
import Flex from "~/components/Flex";
|
||||||
import Highlight from "~/components/Highlight";
|
import Highlight from "~/components/Highlight";
|
||||||
import NudeButton from "~/components/NudeButton";
|
import NudeButton from "~/components/NudeButton";
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ import { LocationDescriptor } from "history";
|
|||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import styled, { useTheme, css } from "styled-components";
|
import styled, { useTheme, css } from "styled-components";
|
||||||
import breakpoint from "styled-components-breakpoint";
|
import breakpoint from "styled-components-breakpoint";
|
||||||
|
import EventBoundary from "@shared/components/EventBoundary";
|
||||||
import { s } from "@shared/styles";
|
import { s } from "@shared/styles";
|
||||||
import { NavigationNode } from "@shared/types";
|
import { NavigationNode } from "@shared/types";
|
||||||
import EventBoundary from "~/components/EventBoundary";
|
|
||||||
import EmojiIcon from "~/components/Icons/EmojiIcon";
|
import EmojiIcon from "~/components/Icons/EmojiIcon";
|
||||||
import NudeButton from "~/components/NudeButton";
|
import NudeButton from "~/components/NudeButton";
|
||||||
import { UnreadBadge } from "~/components/UnreadBadge";
|
import { UnreadBadge } from "~/components/UnreadBadge";
|
||||||
|
|||||||
@@ -4,13 +4,13 @@ import * as React from "react";
|
|||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { useMenuState } from "reakit/Menu";
|
import { useMenuState } from "reakit/Menu";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
|
import EventBoundary from "@shared/components/EventBoundary";
|
||||||
import Comment from "~/models/Comment";
|
import Comment from "~/models/Comment";
|
||||||
import CommentDeleteDialog from "~/components/CommentDeleteDialog";
|
import CommentDeleteDialog from "~/components/CommentDeleteDialog";
|
||||||
import ContextMenu from "~/components/ContextMenu";
|
import ContextMenu from "~/components/ContextMenu";
|
||||||
import MenuItem from "~/components/ContextMenu/MenuItem";
|
import MenuItem from "~/components/ContextMenu/MenuItem";
|
||||||
import OverflowMenuButton from "~/components/ContextMenu/OverflowMenuButton";
|
import OverflowMenuButton from "~/components/ContextMenu/OverflowMenuButton";
|
||||||
import Separator from "~/components/ContextMenu/Separator";
|
import Separator from "~/components/ContextMenu/Separator";
|
||||||
import EventBoundary from "~/components/EventBoundary";
|
|
||||||
import usePolicy from "~/hooks/usePolicy";
|
import usePolicy from "~/hooks/usePolicy";
|
||||||
import useStores from "~/hooks/useStores";
|
import useStores from "~/hooks/useStores";
|
||||||
import { commentPath, urlify } from "~/utils/routeHelpers";
|
import { commentPath, urlify } from "~/utils/routeHelpers";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { transparentize } from "polished";
|
import { transparentize } from "polished";
|
||||||
import * as React from "react";
|
import * as React from "react";
|
||||||
import styled, { createGlobalStyle } from "styled-components";
|
import styled, { createGlobalStyle } from "styled-components";
|
||||||
import EventBoundary from "~/components/EventBoundary";
|
import EventBoundary from "../../components/EventBoundary";
|
||||||
import { s } from "../../styles";
|
import { s } from "../../styles";
|
||||||
import { EditorStyleHelper } from "../styles/EditorStyleHelper";
|
import { EditorStyleHelper } from "../styles/EditorStyleHelper";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user