From 0c1b89ff41bc18817c2dac32c0726e2a399e7768 Mon Sep 17 00:00:00 2001 From: Eli Bosley Date: Mon, 16 Dec 2024 14:39:21 -0500 Subject: [PATCH] fix: remove unused date-fns --- web/components/Notifications/Item.vue | 2 -- web/package-lock.json | 11 ----------- web/package.json | 1 - 3 files changed, 14 deletions(-) diff --git a/web/components/Notifications/Item.vue b/web/components/Notifications/Item.vue index 2fec16a8a..2b643ed26 100644 --- a/web/components/Notifications/Item.vue +++ b/web/components/Notifications/Item.vue @@ -11,8 +11,6 @@ import { import { useMutation } from '@vue/apollo-composable'; import type { NotificationFragmentFragment } from '~/composables/gql/graphql'; import { NotificationType } from '~/composables/gql/graphql'; -import { format } from 'date-fns'; -import { enGB, enUS } from 'date-fns/locale'; import { archiveNotification as archiveMutation, deleteNotification as deleteMutation, diff --git a/web/package-lock.json b/web/package-lock.json index 3ffafe46a..ee8e7d6fb 100644 --- a/web/package-lock.json +++ b/web/package-lock.json @@ -23,7 +23,6 @@ "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "crypto-js": "^4.2.0", - "date-fns": "^4.1.0", "dayjs": "^1.11.13", "focus-trap": "^7.6.2", "graphql": "^16.9.0", @@ -7508,16 +7507,6 @@ "integrity": "sha512-8YnDaaf7N3k/q5HnTJVuzSyLETjoZjVmHc4AeKAzOvKHEFQKcn64OKBfzHYtE9zGjctNM7V9I0MfnUVLpi7M5g==", "dev": true }, - "node_modules/date-fns": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-4.1.0.tgz", - "integrity": "sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==", - "license": "MIT", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/kossnocorp" - } - }, "node_modules/dayjs": { "version": "1.11.13", "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz", diff --git a/web/package.json b/web/package.json index 87df81798..4707e07ff 100644 --- a/web/package.json +++ b/web/package.json @@ -71,7 +71,6 @@ "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "crypto-js": "^4.2.0", - "date-fns": "^4.1.0", "dayjs": "^1.11.13", "focus-trap": "^7.6.2", "graphql": "^16.9.0",