Skip to content

Commit 692fbd8

Browse files
committed
chore: remove assertion
1 parent 8f72fe3 commit 692fbd8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/livecodes/UI/templates.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ export const noUserTemplates = () => `
5454
<div class="description alert">${window.deps.translateString('templates.noUserTemplates.heading', 'You have no saved templates.')}</div>
5555
<div class="description help">
5656
${window.deps.translateString(
57-
'templates.noUserTemplates.desc',
58-
'You can save a project as a template from <wbr />(App&nbsp;menu&nbsp;&gt;&nbsp;Save&nbsp;as&nbsp;&gt; Template).',
59-
{
60-
isHTML: true,
61-
},
62-
)}
57+
'templates.noUserTemplates.desc',
58+
'You can save a project as a template from <wbr />(App&nbsp;menu&nbsp;&gt;&nbsp;Save&nbsp;as&nbsp;&gt; Template).',
59+
{
60+
isHTML: true,
61+
},
62+
)}
6363
</div>
6464
</div>
6565
`;
6666

6767
export const setupTemplatesSearch = (container: HTMLElement) => {
68-
const input = container.querySelector('#templates-search-input') as HTMLInputElement | null;
68+
const input = container.querySelector('#templates-search-input');
6969
if (!input) return;
7070

7171
const filterTemplates = (query: string) => {

0 commit comments

Comments
 (0)