Fixed linter errors

This commit is contained in:
squidfunk 2022-01-06 20:59:40 +01:00
parent 0bd5ff2741
commit 3ded01c281
4 changed files with 6 additions and 5 deletions

View File

@ -213,7 +213,7 @@
</script> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/bundle.98f77802.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.54617339.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

View File

@ -20,6 +20,8 @@
* IN THE SOFTWARE. * IN THE SOFTWARE.
*/ */
import { ComponentChild } from "preact"
import { feature, translation } from "~/_" import { feature, translation } from "~/_"
import { import {
SearchDocument, SearchDocument,
@ -27,7 +29,6 @@ import {
SearchResultItem SearchResultItem
} from "~/integrations/search" } from "~/integrations/search"
import { h, truncate } from "~/utilities" import { h, truncate } from "~/utilities"
import { ComponentChild, ComponentChildren } from "preact"
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Helper types * Helper types