diff --git a/package.json b/package.json
index ff55971..271220e 100755
--- a/package.json
+++ b/package.json
@@ -14,8 +14,7 @@
"framer-motion": "^1.6.17",
"react": "^16.8.6",
"react-contextmenu": "^2.13.0",
- "react-dom": "^16.8.6",
- "react-truncate": "^2.4.0"
+ "react-dom": "^16.8.6"
},
"devDependencies": {
"@types/react": "^16.8.24",
diff --git a/src/app/components/App.tsx b/src/app/components/App.tsx
index a499173..59fab38 100644
--- a/src/app/components/App.tsx
+++ b/src/app/components/App.tsx
@@ -1,13 +1,15 @@
import * as React from "react";
import { useState } from "react";
-import ErrorPanel from "./ErrorPanel";
+import { AnimatePresence } from "../../../node_modules/framer-motion";
+
import NodeList from "./NodeList";
import Preloader from "./Preloader";
import EmptyState from "./EmptyState";
-import "../styles/reset.css";
+import Panel from "./Panel";
+
+import "../styles/figma.ds.css";
import "../styles/ui.css";
import "../styles/empty-state.css";
-import { AnimatePresence } from "../../../node_modules/framer-motion";
const App = ({}) => {
const [errorArray, setErrorArray] = useState([]);
@@ -204,42 +206,40 @@ const App = ({}) => {
}, []);
return (
-
-
-
- {activeNodeIds.length !== 0 ? (
-
- ) : timedLoad === false ? (
-
- ) : (
-
- )}
-
- {Object.keys(activeError).length !== 0 && errorArray.length ? (
-
+
+ {activeNodeIds.length !== 0 ? (
+
- ) : null}
-
+ ) : timedLoad === false ? (
+
+ ) : (
+
+ )}
+
+ {Object.keys(activeError).length !== 0 && errorArray.length ? (
+
+ ) : null}
);
};
diff --git a/src/app/components/EmptyState.tsx b/src/app/components/EmptyState.tsx
index 13f7717..97ac6f6 100644
--- a/src/app/components/EmptyState.tsx
+++ b/src/app/components/EmptyState.tsx
@@ -22,13 +22,16 @@ function EmptyState(props) {
-
+
Select a frame or multiple frames
-
+
-
+
+
);
}
diff --git a/src/app/components/ErrorList.tsx b/src/app/components/ErrorList.tsx
index c5c9c0a..f4269bf 100644
--- a/src/app/components/ErrorList.tsx
+++ b/src/app/components/ErrorList.tsx
@@ -1,7 +1,6 @@
import * as React from "react";
import { motion, AnimatePresence } from "framer-motion";
import { ContextMenu, MenuItem, ContextMenuTrigger } from "react-contextmenu";
-import Truncate from "react-truncate";
function ErrorList(props) {
// Pass the error we want to ignore back to our parent.
@@ -45,11 +44,7 @@ function ErrorList(props) {
- {error.value ? (
-
- {error.value}
-
- ) : null}
+ {error.value ? {error.value}
: null}