Skip to content

Commit 9c8c648

Browse files
committed
Eslint fix
1 parent 6f24de3 commit 9c8c648

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// const RUN_EVENT = 'app-run-tests'
22
const VIEW_SOURCE_EVENT = 'app-source-highlight'
33

4-
export const viewSource = (
5-
callSource: string | undefined
6-
) => {
7-
if (!callSource) return
4+
export const viewSource = (callSource: string | undefined) => {
5+
if (!callSource) {
6+
return
7+
}
88
window.dispatchEvent(
99
new CustomEvent(VIEW_SOURCE_EVENT, {
10-
detail: callSource
10+
detail: callSource
1111
})
1212
)
1313
}

0 commit comments

Comments
 (0)