Skip to content

Commit c4d67ad

Browse files
Use nullish coalescing operator for initialisationError message display
1 parent 9315e2c commit c4d67ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/src/application.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export function Application() {
112112
<br />
113113
Loaded: <code>{isLoaded ? "YES" : "NO"}</code>
114114
<br />
115-
Error: <code>{initialisationError?.message || "NONE"}</code>
115+
Error: <code>{initialisationError?.message ?? "NONE"}</code>
116116
<br />
117117
<h2>Actions</h2>
118118
References:

0 commit comments

Comments
 (0)