From b5f235dbbf87b9b3be240d2c7cde598ee072e49d Mon Sep 17 00:00:00 2001 From: kashw2 Date: Sat, 14 Sep 2024 17:08:16 +1000 Subject: [PATCH] fix(vote): use non namespaced moment import --- panel/src/app/pages/create-vote/create-vote.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel/src/app/pages/create-vote/create-vote.component.ts b/panel/src/app/pages/create-vote/create-vote.component.ts index 7416ee2b3..b26a8014b 100644 --- a/panel/src/app/pages/create-vote/create-vote.component.ts +++ b/panel/src/app/pages/create-vote/create-vote.component.ts @@ -6,10 +6,10 @@ import {Candidate, Group, Vote} from "@kashw2/lib-ts"; import {None, Option, Some} from "funfix-core"; import {UserService} from "../../service/user.service"; import {BehaviorSubject} from "rxjs"; -import * as moment from "moment"; import {VoteService} from "../../service/vote.service"; import {GroupService} from "../../service/group.service"; import {ToastService} from "../../service/toast.service"; +import moment from "moment"; @Component({ selector: 'app-create-vote',