Skip to content

Commit

Permalink
chore: removed dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Dec 23, 2024
1 parent 091eaa0 commit 78b5cec
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions webclient/app/composables/common.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
import type { LocationQueryValue } from "#vue-router";

export function setTitle(name: string): void {
document.title = `${name} – NavigaTUM`;
document.querySelector('meta[property="og:title"]')?.setAttribute("content", name);
}

export function setDescription(description: string): void {
document.querySelector('meta[name="description"]')?.setAttribute("content", description);
document.querySelector('meta[property="og:description"]')?.setAttribute("content", description);
}

export function firstOrDefault(
value: LocationQueryValue | LocationQueryValue[] | undefined,
defaultValue: string,
Expand Down

0 comments on commit 78b5cec

Please sign in to comment.