add param to URL
This commit is contained in:
1 parent
c71c833b77
commit
42aae20fa3
2 files changed
+16
-3
No files matched your search
@@ -32,6 +32,9 @@ export const STATUS_PAGE_RANGE_DAYS: Record<
|
||||
number
|
||||
> = { "30d": 30, "60d": 60, "90d": 90 };
|
||||
|
||||
export const isStatusPageRange = (value: string | null): value is StatusPageRange =>
|
||||
STATUS_PAGE_RANGES.some((range) => range === value);
|
||||
|
||||
export const resolveStatusPageTheme = (
|
||||
value: string | null | undefined
|
||||
): StatusPageTheme =>
|
||||
|
||||
Reference in new issue
Block a user