Skip to content

Commit aae2e11

Browse files
committed
replace getRestoreFun by restore
1 parent 7665361 commit aae2e11

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

addons/folders/userscript.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ export default async function ({ addon, console, msg }) {
893893
addon.tab.redux.dispatch({
894894
type: "scratch-gui/restore-deletion/RESTORE_UPDATE",
895895
state: {
896-
restoreFun: getRestoreFun.bind(this, type, null),
896+
restoreFun: restore.bind(this, type, null),
897897
deletedItem: "Sprite",
898898
},
899899
});
@@ -929,7 +929,7 @@ export default async function ({ addon, console, msg }) {
929929
addon.tab.redux.dispatch({
930930
type: "scratch-gui/restore-deletion/RESTORE_UPDATE",
931931
state: {
932-
restoreFun: getRestoreFun.bind(this, type, lastCostumeRemoved),
932+
restoreFun: restore.bind(this, type, lastCostumeRemoved),
933933
deletedItem: type === "costume" ? "Costume" : "Sound",
934934
},
935935
});

0 commit comments

Comments
 (0)