Skip to content

Commit 9704dc4

Browse files
committed
fix(toast): missing variable in keys()
1 parent b5e93cf commit 9704dc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)