summaryrefslogtreecommitdiffstats
path: root/apps/web-shared/src/lib/helpers.ts
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-06-07 01:33:52 +0200
committerivarlovlie <git@ivarlovlie.no>2022-06-07 01:34:48 +0200
commita8b44b09a404aee477e735501b828d1b14aad311 (patch)
tree41b8e21f7484a3f93867a137826da255081fb0ab /apps/web-shared/src/lib/helpers.ts
parent591f1c5fd81bd2b92e91a90847ea06438211078d (diff)
downloadgreatoffice-a8b44b09a404aee477e735501b828d1b14aad311.tar.xz
greatoffice-a8b44b09a404aee477e735501b828d1b14aad311.zip
feat: Add inital translation support
Diffstat (limited to 'apps/web-shared/src/lib/helpers.ts')
-rw-r--r--apps/web-shared/src/lib/helpers.ts10
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/web-shared/src/lib/helpers.ts b/apps/web-shared/src/lib/helpers.ts
index 4da8254..1cf94f4 100644
--- a/apps/web-shared/src/lib/helpers.ts
+++ b/apps/web-shared/src/lib/helpers.ts
@@ -1,4 +1,4 @@
-import {base_domain, CookieNames, StorageKeys} from "$shared/lib/configuration";
+import {base_domain, CookieNames} from "$shared/lib/configuration";
import {TimeEntryDto} from "$shared/lib/models/TimeEntryDto";
import {UnwrappedEntryDateTime} from "$shared/lib/models/UnwrappedEntryDateTime";
import {Temporal} from "@js-temporal/polyfill";
@@ -482,11 +482,3 @@ export function get_hash_code(value: string): number|undefined {
}
return hash;
}
-
-export function $(selector: string): HTMLElement|null {
- return document.querySelector(selector);
-}
-
-export function $$(selector: string): NodeListOf<Element> {
- return document.querySelectorAll(selector);
-}