Skip to content

Commit

Permalink
remove additionalClasses from NetworksDropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Apr 1, 2024
1 parent 0cba3a0 commit b475868
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions packages/nextjs/components/NetworksDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,7 @@ const IconOption = (props: OptionProps<Options>) => (
</Option>
);

export const NetworksDropdown = ({
onChange,
additionalClasses,
}: {
onChange: (options: any) => any;
additionalClasses?: string;
}) => {
export const NetworksDropdown = ({ onChange }: { onChange: (options: any) => any }) => {
const [isMobile, setIsMobile] = useState(false);

useEffect(() => {
Expand All @@ -84,7 +78,7 @@ export const NetworksDropdown = ({
onChange={onChange}
components={{ Option: IconOption }}
isSearchable={!isMobile}
className={`max-w-xs bg-white relative ${additionalClasses ? additionalClasses : "text-sm w-44"}`}
className="max-w-xs bg-white relative text-sm w-44"
theme={theme => ({
...theme,
colors: {
Expand Down

0 comments on commit b475868

Please sign in to comment.