diff --git a/src/app/(main)/admin/AdminLayout.tsx b/src/app/(main)/admin/AdminLayout.tsx index 0164fba4b..681ba3f03 100644 --- a/src/app/(main)/admin/AdminLayout.tsx +++ b/src/app/(main)/admin/AdminLayout.tsx @@ -19,7 +19,6 @@ export function AdminLayout({ children }: { children: ReactNode }) { width="240px" height="100%" border="right" - backgroundColor marginRight="2" padding="3" > diff --git a/src/app/(main)/settings/SettingsLayout.tsx b/src/app/(main)/settings/SettingsLayout.tsx index 2492ae9ea..9e89b19eb 100644 --- a/src/app/(main)/settings/SettingsLayout.tsx +++ b/src/app/(main)/settings/SettingsLayout.tsx @@ -12,7 +12,6 @@ export function SettingsLayout({ children }: { children: ReactNode }) { width="240px" height="100%" border="right" - backgroundColor={'surface-raised'} marginRight="2" padding="3" > diff --git a/src/app/(main)/websites/[websiteId]/(reports)/journeys/Journey.tsx b/src/app/(main)/websites/[websiteId]/(reports)/journeys/Journey.tsx index 1b893d27e..20f184d06 100644 --- a/src/app/(main)/websites/[websiteId]/(reports)/journeys/Journey.tsx +++ b/src/app/(main)/websites/[websiteId]/(reports)/journeys/Journey.tsx @@ -236,7 +236,7 @@ export function Journey({ websiteId, steps, startStep, endStep, view }: JourneyP
{formatLongNumber(nodeCount)}
- + {`${dropped}% ${formatMessage(labels.dropoff)}`} diff --git a/src/components/common/FilterRecord.tsx b/src/components/common/FilterRecord.tsx index e168ef791..26299eb83 100644 --- a/src/components/common/FilterRecord.tsx +++ b/src/components/common/FilterRecord.tsx @@ -57,10 +57,6 @@ export function FilterRecord({ onChange?.(name, value); }; - const renderValue = () => { - return formatValue(selected, type); - }; - return ( @@ -83,7 +79,6 @@ export function FilterRecord({ value={selected} onChange={handleSelectValue} searchValue={search} - renderValue={renderValue} onSearch={handleSearch} isLoading={isLoading} listProps={{ renderEmptyState: () => }} diff --git a/src/components/common/NavMenu.tsx b/src/components/common/NavMenu.tsx index 3035db992..f0ae91fe2 100644 --- a/src/components/common/NavMenu.tsx +++ b/src/components/common/NavMenu.tsx @@ -62,7 +62,7 @@ export function NavMenu({ {items?.map(({ label, items }, index) => { if (label) { return ( - + {label} diff --git a/src/components/input/UserSelect.tsx b/src/components/input/UserSelect.tsx index b77445c99..17a697bc2 100644 --- a/src/components/input/UserSelect.tsx +++ b/src/components/input/UserSelect.tsx @@ -1,4 +1,4 @@ -import { ListItem, Row, Select, type SelectProps, Text } from '@umami/react-zen'; +import { ListItem, Select, type SelectProps } from '@umami/react-zen'; import { useMemo, useState } from 'react'; import { Empty } from '@/components/common/Empty'; import { useMessages, useTeamMembersQuery, useUsersQuery } from '@/components/hooks'; @@ -40,14 +40,6 @@ export function UserSelect({ onChange(id); }; - const renderValue = () => { - return ( - - {username} - - ); - }; - return (