Skip to content

Commit

Permalink
fix: rm extraneous 'as const' assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
trevor-anderson committed Mar 24, 2024
1 parent fc028ff commit 2995812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/ThemeProvider/palettes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import type { ConditionalKeys } from "type-fest";
*/
export type PaletteColorKey = ConditionalKeys<Palette, PaletteColor>;

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;

Expand Down

0 comments on commit 2995812

Please sign in to comment.