Skip to content

Commit dfd8582

Browse files
committed
finish merge
Signed-off-by: Derek Ho <dxho@amazon.com>
1 parent dbc7976 commit dfd8582

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

public/components/custom_panels/custom_panel_view_so.tsx

-17
Original file line numberDiff line numberDiff line change
@@ -258,27 +258,10 @@ export const CustomPanelViewSO = (props: CustomPanelViewProps) => {
258258
};
259259

260260
// toggle between panel edit mode
261-
<<<<<<< HEAD
262261
const editPanel = (editType: string) => {
263262
setIsEditing(!isEditing);
264263
if (editType === 'cancel') dispatch(fetchPanel(panelId));
265264
setEditActionType(editType);
266-
=======
267-
268-
const startEdit = () => {
269-
setIsEditing(true);
270-
};
271-
272-
const applyEdits = useCallback(() => {
273-
dispatch(updatePanel(panel, '', ''));
274-
setIsEditing(false);
275-
setEditActionType('save');
276-
}, [panel]);
277-
278-
const cancelEdit = () => {
279-
dispatch(fetchPanel(panelId));
280-
setIsEditing(false);
281-
>>>>>>> 22977feb (code cleanup)
282265
};
283266

284267
const closeFlyout = () => {

0 commit comments

Comments
 (0)