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