Skip to content

Commit

Permalink
bugfix: patch renderToDiv copy / paste section
Browse files Browse the repository at this point in the history
  • Loading branch information
cdxker committed Dec 18, 2024
1 parent 127b2b8 commit 914a635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/public/search-component-code.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import {renderToDiv} from 'https://unpkg.com/[email protected]/dist/vanilla/index.js';
window.addEventListener('load', () => {
const root = document.getElementById('root');
renderToDiv(root,
renderToDiv(root, {
{% if params.apiKey -%}
apiKey: "{{ params.apiKey }}",
{% endif -%}
Expand Down Expand Up @@ -94,7 +94,7 @@
{% if params.debounceMs -%}
debounceMs: {{ params.debounceMs }},
{% endif -%}
)
})
});
</script>
</code>
Expand Down

0 comments on commit 914a635

Please sign in to comment.