mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-18 11:44:23 +01:00
Fix lint.
This commit is contained in:
@@ -6169,10 +6169,12 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
): ContextMenuItems => {
|
): ContextMenuItems => {
|
||||||
const options: ContextMenuItems = [];
|
const options: ContextMenuItems = [];
|
||||||
let addedCustom = false;
|
let addedCustom = false;
|
||||||
this.actionManager.getCustomActions({ data: { source } }).forEach((action) => {
|
this.actionManager
|
||||||
addedCustom = true;
|
.getCustomActions({ data: { source } })
|
||||||
options.push(action);
|
.forEach((action) => {
|
||||||
});
|
addedCustom = true;
|
||||||
|
options.push(action);
|
||||||
|
});
|
||||||
if (type === "custom") {
|
if (type === "custom") {
|
||||||
return options;
|
return options;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user