From be14c66d3b06261d0f742897ff82ef36f935df9c Mon Sep 17 00:00:00 2001 From: yashablack Date: Thu, 7 Sep 2023 12:55:10 +0300 Subject: [PATCH] fix: update location and theme --- src/events/generalProps.ts | 2 +- src/events/primitives.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/events/generalProps.ts b/src/events/generalProps.ts index 52d6023..ee34c17 100644 --- a/src/events/generalProps.ts +++ b/src/events/generalProps.ts @@ -54,7 +54,7 @@ export type NetworkProps = { }; export type ThemeProps = { - theme: 'light' | 'dark' | 'system'; + theme: string; }; export type TraceProps = { diff --git a/src/events/primitives.ts b/src/events/primitives.ts index 026459c..29a4e7e 100644 --- a/src/events/primitives.ts +++ b/src/events/primitives.ts @@ -13,6 +13,7 @@ export enum ElementLocation { farmsList = 'farmsList', createFarmForm = 'create-farm-form', poolPosition = 'pool-position', + rewardsPage = 'rewards-page', } export enum ElementName {