Skip to content

Commit fffa6ab

Browse files
committed
Remove unnecessary "!" [skip ci]
1 parent 65f22f6 commit fffa6ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/legacy/plugins/searchprofiler/public/np_ready/application/containers/profile_query_editor.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ export const ProfileQueryEditor = memo(() => {
8787
disabled={!licenseEnabled}
8888
inputRef={ref => {
8989
if (ref) {
90-
indexInputRef.current = ref!;
91-
ref!.value = DEFAULT_INDEX_VALUE;
90+
indexInputRef.current = ref;
91+
ref.value = DEFAULT_INDEX_VALUE;
9292
}
9393
}}
9494
/>

0 commit comments

Comments
 (0)