File tree 1 file changed +0
-17
lines changed
public/components/custom_panels
1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -258,27 +258,10 @@ export const CustomPanelViewSO = (props: CustomPanelViewProps) => {
258
258
} ;
259
259
260
260
// toggle between panel edit mode
261
- < < << << < HEAD
262
261
const editPanel = ( editType : string ) => {
263
262
setIsEditing ( ! isEditing ) ;
264
263
if ( editType === 'cancel' ) dispatch ( fetchPanel ( panelId ) ) ;
265
264
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
- > >>> >>> 22977 feb ( code cleanup )
282
265
} ;
283
266
284
267
const closeFlyout = ( ) => {
You can’t perform that action at this time.
0 commit comments