Skip to content

Commit b4dff24

Browse files
authored
Move dropdown to design system (#1054)
Co-authored-by: Chase Fleming <1666730+chasefleming@users.noreply.github.com>
1 parent 1b28064 commit b4dff24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/connect-button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from 'react';
22
import { useCurrentUser } from '@site/src/hooks/use-current-user';
33
import { Button } from '@site/src/ui/design-system/src/lib/Components/Button';
4-
import Dropdown from '@site/src/components/dropdown';
54
import { useIsMobile } from '@site/src/hooks/use-is-mobile';
5+
import Dropdown from '@site/src/ui/design-system/src/lib/Components/Dropdown';
66

77
const shortenAddress = (address: string, isMobile: boolean) => {
88
if (!address) return '';

src/components/dropdown.tsx renamed to src/ui/design-system/src/lib/Components/Dropdown/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ const Dropdown: React.FC<DropdownProps> = ({ buttonLabel, items }) => {
5757
);
5858
};
5959

60-
export default Dropdown;
60+
export default Dropdown;

0 commit comments

Comments
 (0)