diff --git a/src/actions/actionZindex.tsx b/src/actions/actionZindex.tsx
index 21530002..352dccbf 100644
--- a/src/actions/actionZindex.tsx
+++ b/src/actions/actionZindex.tsx
@@ -1,4 +1,3 @@
-import React from "react";
import { Action } from "./types";
import {
moveOneLeft,
@@ -20,12 +19,7 @@ export const actionSendBackward: Action = {
contextItemLabel: "Send Backward",
keyPriority: 40,
keyTest: event =>
- event[META_KEY] && event.shiftKey && event.altKey && event.code === "KeyB",
- PanelComponent: ({ updateData }) => (
-
- )
+ event[META_KEY] && event.shiftKey && event.altKey && event.code === "KeyB"
};
export const actionBringForward: Action = {
@@ -39,12 +33,7 @@ export const actionBringForward: Action = {
contextItemLabel: "Bring Forward",
keyPriority: 40,
keyTest: event =>
- event[META_KEY] && event.shiftKey && event.altKey && event.code === "KeyF",
- PanelComponent: ({ updateData }) => (
-
- )
+ event[META_KEY] && event.shiftKey && event.altKey && event.code === "KeyF"
};
export const actionSendToBack: Action = {
@@ -56,12 +45,7 @@ export const actionSendToBack: Action = {
};
},
contextItemLabel: "Send to Back",
- keyTest: event => event[META_KEY] && event.shiftKey && event.code === "KeyB",
- PanelComponent: ({ updateData }) => (
-
- )
+ keyTest: event => event[META_KEY] && event.shiftKey && event.code === "KeyB"
};
export const actionBringToFront: Action = {
@@ -73,10 +57,5 @@ export const actionBringToFront: Action = {
};
},
contextItemLabel: "Bring to Front",
- keyTest: event => event[META_KEY] && event.shiftKey && event.code === "KeyF",
- PanelComponent: ({ updateData }) => (
-
- )
+ keyTest: event => event[META_KEY] && event.shiftKey && event.code === "KeyF"
};