Skip to content

Commit

Permalink
리뷰 내용 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-moon committed Feb 22, 2022
1 parent 97886f0 commit 40a0842
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Flex/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ const Flex = <T extends ElementType = 'div'>(
}: Props<T>,
ref: Ref<any>
) => {
const target = as ?? DEFAULT_ELEMENT;
const Component = target;
const Component = as ?? DEFAULT_ELEMENT;

return (
<Component
Expand Down

0 comments on commit 40a0842

Please sign in to comment.