diff --git a/apps/member-profile/app/routes/_profile.tsx b/apps/member-profile/app/routes/_profile.tsx index 1da81c195..e39b49bd6 100644 --- a/apps/member-profile/app/routes/_profile.tsx +++ b/apps/member-profile/app/routes/_profile.tsx @@ -147,7 +147,6 @@ export default function ProfileLayout() { } label="Peer Help" - isNew pathname={Route['/peer-help']} prefetch="intent" /> diff --git a/packages/ui/src/components/input.tsx b/packages/ui/src/components/input.tsx index 25279bfaf..a6a07f735 100644 --- a/packages/ui/src/components/input.tsx +++ b/packages/ui/src/components/input.tsx @@ -171,16 +171,10 @@ function formatPhoneNumber(input: string): string { // Helpers -type InputCnOptions = { - readOnly?: boolean; -}; - -export function getInputCn(options: InputCnOptions = { readOnly: true }) { +export function getInputCn() { return cx( 'w-full rounded-lg border border-gray-300 p-2', 'disabled:cursor-not-allowed disabled:bg-gray-100 disabled:text-gray-500', - options.readOnly && - 'read-only:cursor-not-allowed read-only:bg-gray-50 read-only:text-gray-500', 'focus:border-primary' ); } diff --git a/packages/ui/src/components/select.tsx b/packages/ui/src/components/select.tsx index fdc00ff6a..eec76cde9 100644 --- a/packages/ui/src/components/select.tsx +++ b/packages/ui/src/components/select.tsx @@ -34,7 +34,7 @@ export function Select({ return (