From 10683d066e1703b989bfba0fa01206b212f165f3 Mon Sep 17 00:00:00 2001 From: Chase Fleming <1666730+chasefleming@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:04:11 -0800 Subject: [PATCH] Move dropdown to design system --- src/components/connect-button.tsx | 2 +- .../design-system/src/lib/Components/Dropdown/index.tsx} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename src/{components/dropdown.tsx => ui/design-system/src/lib/Components/Dropdown/index.tsx} (98%) diff --git a/src/components/connect-button.tsx b/src/components/connect-button.tsx index 25d6c90425..7b2ceed8f6 100644 --- a/src/components/connect-button.tsx +++ b/src/components/connect-button.tsx @@ -1,8 +1,8 @@ import React from 'react'; import { useCurrentUser } from '@site/src/hooks/use-current-user'; import { Button } from '@site/src/ui/design-system/src/lib/Components/Button'; -import Dropdown from '@site/src/components/dropdown'; import { useIsMobile } from '@site/src/hooks/use-is-mobile'; +import Dropdown from '@site/src/ui/design-system/src/lib/Components/Dropdown'; const shortenAddress = (address: string, isMobile: boolean) => { if (!address) return ''; diff --git a/src/components/dropdown.tsx b/src/ui/design-system/src/lib/Components/Dropdown/index.tsx similarity index 98% rename from src/components/dropdown.tsx rename to src/ui/design-system/src/lib/Components/Dropdown/index.tsx index e95231fa60..2cb9a30490 100644 --- a/src/components/dropdown.tsx +++ b/src/ui/design-system/src/lib/Components/Dropdown/index.tsx @@ -57,4 +57,4 @@ const Dropdown: React.FC = ({ buttonLabel, items }) => { ); }; -export default Dropdown; +export default Dropdown; \ No newline at end of file