Skip to content

Commit

Permalink
chore: console.log 지우기
Browse files Browse the repository at this point in the history
  • Loading branch information
junghyeonsu committed Nov 23, 2023
1 parent de98762 commit 7302000
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions figma-plugin/plugin-src/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ async function setPreviewIcons() {
withPng: false,
});

console.log("svgDatas", svgDatas);

emit("GET_ICON_PREVIEW", {
icons: svgDatas,
});
Expand Down
2 changes: 1 addition & 1 deletion figma-plugin/plugin-src/listeners.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export function listenDeployIcon() {

try {
const { owner, name, apiKey } = githubData;
console.log("DEPLOY: ", owner, name, apiKey);

const { createDeployPR } = createGithubClient(owner, name, apiKey);
const iconaFrame = figma.currentPage.findOne((node) => {
Expand All @@ -25,6 +24,7 @@ export function listenDeployIcon() {

await createDeployPR(svgs);
emit("DEPLOY_DONE", null);
figma.notify("Icons deployed", { timeout: 5000 });
} catch (error) {
figma.notify("Error while deploying icons", {
timeout: 5000,
Expand Down
1 change: 0 additions & 1 deletion figma-plugin/ui-src/contexts/AppContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@ export function AppProvider({ children }: { children: React.ReactNode }) {
return;
}

console.log("onmessage", name, payload);
dispatch({ name: name as Actions["name"], payload });
};

Expand Down

0 comments on commit 7302000

Please sign in to comment.