Skip to content

Commit 5b760bb

Browse files
author
Googler
committed
Automated Code Change
PiperOrigin-RevId: 795438315
1 parent 4542238 commit 5b760bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lit_nlp/client/core/slice_module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export class SliceModule extends LitModule {
160160
// clang-format off
161161
return html`
162162
<div class="row-container">
163-
<input type="text" id="input-box" .value=${this.sliceName}
163+
<input type="text" id="input-box" .value=${this.sliceName ?? ''}
164164
placeholder="Enter name" @input=${onInputChange}
165165
@keyup=${(e: KeyboardEvent) => {onKeyUp(e);}}/>
166166
<button class='hairline-button'

0 commit comments

Comments
 (0)