Skip to content

Commit 80924e5

Browse files
authored
fix: missing argument for Object.keys (#1356)
Recent fix fa17699 has a missing argument for `Object.Keys()`.
1 parent 7075a12 commit 80924e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/shell-chrome/src/devtools-background.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const toastMessages = {
119119
}
120120

121121
function toast (id) {
122-
if (!Object.keys().includes(id)) return
122+
if (!Object.keys(toastMessages).includes(id)) return
123123

124124
const { message, type } = toastMessages[id]
125125

0 commit comments

Comments
 (0)