Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

starlight_help: Avoid unnecessary template literal strings.

Anders Kaseorgf5d0285a1766
diff --git a/starlight_help/src/components/KeyboardTip.astro b/starlight_help/src/components/KeyboardTip.astro
index 7921566a538..3df21ea52ed 100644
--- a/starlight_help/src/components/KeyboardTip.astro
+++ b/starlight_help/src/components/KeyboardTip.astro
@@ -36,7 +36,7 @@ first_element.children = [...prefix_element_list, ...first_element.children];
tree.children[0] = first_element;
---
-<aside aria-label="Keyboard tip" class=`starlight-aside starlight-aside--tip keyboard-tip`>
+<aside aria-label="Keyboard tip" class="starlight-aside starlight-aside--tip keyboard-tip">
<div class="starlight-aside__content">
<Fragment set:html={toHtml(tree)} />
</div>
diff --git a/starlight_help/src/components/ZulipNote.astro b/starlight_help/src/components/ZulipNote.astro
index d8ed3b403ea..0f6173ed297 100644
--- a/starlight_help/src/components/ZulipNote.astro
+++ b/starlight_help/src/components/ZulipNote.astro
@@ -4,7 +4,7 @@ We can make the title disappear by making the title a single space: " ".
The default aside component provided by starlight will always have an icon however.
That is why we needed this custom components.
-->
-<aside aria-label="Note" class={`starlight-aside starlight-aside--note`}>
+<aside aria-label="Note" class="starlight-aside starlight-aside--note">
<div class="starlight-aside__content">
<slot />
</div>
diff --git a/starlight_help/src/components/ZulipTip.astro b/starlight_help/src/components/ZulipTip.astro
index c6f30bb6382..a0ea75db2db 100644
--- a/starlight_help/src/components/ZulipTip.astro
+++ b/starlight_help/src/components/ZulipTip.astro
@@ -56,7 +56,7 @@ first_element.children = [...prefix_element_list, ...first_element.children];
tree.children[0] = first_element;
---
-<aside aria-label="Tip" class=`starlight-aside starlight-aside--tip`>
+<aside aria-label="Tip" class="starlight-aside starlight-aside--tip">
<div class="starlight-aside__content">
<Fragment set:html={toHtml(tree)} />
</div>