Skip to content

Commit

Permalink
fix: 🐛 creating merkur widget in playground
Browse files Browse the repository at this point in the history
  • Loading branch information
mjancarik committed May 28, 2024
1 parent aa04d6b commit 6b639ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/templates/body.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="merkur-view"><%- html %></div>
<script>
window.addEventListener('load', function () {
__merkur__.create(<% - JSON.stringify(widgetProperties) %>)
__merkur__.create(<%- JSON.stringify(widgetProperties) %>)
.then(function (widget) {
widget.containerSelector = '.merkur-view';
if (widget?.slot?.headline) {
Expand Down

0 comments on commit 6b639ed

Please sign in to comment.