We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7827e1 commit c7e2321Copy full SHA for c7e2321
src/react/index.tsx
@@ -151,9 +151,9 @@ export default function ReactView() {
151
//Tags can be an array or just a string
152
//This seems like a bug in Obsidian
153
if (typeof frontmatter?.tags === "string") {
154
- tags = [frontmatter?.tags];
+ tags = [frontmatter?.tags as string];
155
} else if (Array.isArray(frontmatter?.tags)) {
156
- tags = frontmatter?.tags;
+ tags = frontmatter?.tags as string[];
157
}
158
159
const url: string | null = frontmatter?.[urlPropertyName] ?? null;
0 commit comments