Skip to content

Commit

Permalink
fix: remove uneless code
Browse files Browse the repository at this point in the history
  • Loading branch information
NeverEllipsis committed Sep 10, 2024
1 parent 11b6aa2 commit 5e1aea1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/bui-core/src/CitySelector/CitySelectorCore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@ const CitySelector = React.forwardRef<HTMLDivElement, CitySelectorCoreProps>(
height,
onSelect,
onClose,
ref: propsRef,
...others
} = props;
const cityRef = useRef(null);
const nodeRef = useForkRef(ref, propsRef, cityRef);
const nodeRef = useForkRef(ref, cityRef);
useTouchEmulator(cityRef.current);
const [codeGroup, setCodeGroup] = useState([]);
const [codeShow, setCodeShow] = useState(false);
Expand Down

0 comments on commit 5e1aea1

Please sign in to comment.