From 29958128d17002cf06e44d5cc5483c0261393169 Mon Sep 17 00:00:00 2001 From: trevor-anderson Date: Sun, 24 Mar 2024 11:05:53 -0400 Subject: [PATCH] fix: rm extraneous 'as const' assertions --- src/app/ThemeProvider/palettes.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/ThemeProvider/palettes.ts b/src/app/ThemeProvider/palettes.ts index 73d08d47..cf19c080 100644 --- a/src/app/ThemeProvider/palettes.ts +++ b/src/app/ThemeProvider/palettes.ts @@ -11,8 +11,8 @@ import type { ConditionalKeys } from "type-fest"; */ export type PaletteColorKey = ConditionalKeys; -const DARK_PALETTE_NAME = "DARK" as const; -const LIGHT_PALETTE_NAME = "LIGHT" as const; +const DARK_PALETTE_NAME = "DARK"; +const LIGHT_PALETTE_NAME = "LIGHT"; export const PALETTE_NAMES = [DARK_PALETTE_NAME, LIGHT_PALETTE_NAME] as const;