Skip to content

Commit

Permalink
chore: june-so-client-react
Browse files Browse the repository at this point in the history
  • Loading branch information
junghyeonsu committed Oct 31, 2023
1 parent ad3e917 commit 9393464
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 101 deletions.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions figma-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@vitejs/plugin-react-refresh": "^1.3.6",
"axios": "^1.6.0",
"framer-motion": "^10.12.11",
"june-so-client-react": "^0.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-dedent": "^2.2.0",
Expand Down
98 changes: 0 additions & 98 deletions figma-plugin/ui-src/contexts/JuneContext.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion figma-plugin/ui-src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
import "./styles/global.css";

import { ChakraProvider } from "@chakra-ui/react";
import { JuneProvider } from "june-so-client-react";
import * as React from "react";
import { createRoot } from "react-dom/client";

import { AppProvider } from "./contexts/AppContext";
import { JuneProvider } from "./contexts/JuneContext";
import App from "./pages/App";

const root = createRoot(document.getElementById("root")!);
Expand Down
2 changes: 1 addition & 1 deletion figma-plugin/ui-src/pages/App.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Box, Tab, TabList, TabPanel, TabPanels, Tabs } from "@chakra-ui/react";
import { useJune } from "june-so-client-react";
import * as React from "react";

import { useAppState } from "../contexts/AppContext";
import { useJune } from "../contexts/JuneContext";
import * as styles from "./App.css";
import Deploy from "./Deploy";
import Setting from "./Setting";
Expand Down
2 changes: 1 addition & 1 deletion figma-plugin/ui-src/pages/Deploy.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Box, Button, Spinner, Text, Tooltip } from "@chakra-ui/react";
import { useJune } from "june-so-client-react";
import * as React from "react";

import { ACTION, DATA, STATUS } from "../../common/constants";
import { useAppDispatch, useAppState } from "../contexts/AppContext";
import { useJune } from "../contexts/JuneContext";
import * as styles from "./Deploy.css";

const Deploy = () => {
Expand Down
19 changes: 19 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3622,6 +3622,7 @@ __metadata:
axios: ^1.6.0
esbuild: ^0.17.19
framer-motion: ^10.12.11
june-so-client-react: ^0.0.1
react: ^18.2.0
react-dom: ^18.2.0
ts-dedent: ^2.2.0
Expand Down Expand Up @@ -7952,6 +7953,24 @@ __metadata:
languageName: node
linkType: hard

"june-so-client-react@npm:^0.0.1":
version: 0.0.1
resolution: "june-so-client-react@npm:0.0.1"
dependencies:
june-so-client-types: ^0.0.1
peerDependencies:
react: ^17.0.0 || ^18.0.0
checksum: af9ed338e65b450f9e15842cb7fe30f5e2783ddf099421b05fd4ce641bfccc14949f96c51ccc336a446e0a094ef2da61da5f3939c5896b251f8c0d44fcef7c8a
languageName: node
linkType: hard

"june-so-client-types@npm:^0.0.1":
version: 0.0.1
resolution: "june-so-client-types@npm:0.0.1"
checksum: d6ff8e5bfc4abeefa4b35fb15bb4ffa1819d072bebbaadc50a4851203ac954647ef2310924a3939d446d4e8e7c9781ad91a690ed65594925fcee01ea8b9fcd17
languageName: node
linkType: hard

"kind-of@npm:^6.0.3":
version: 6.0.3
resolution: "kind-of@npm:6.0.3"
Expand Down

0 comments on commit 9393464

Please sign in to comment.