Skip to content

Commit 779ac4c

Browse files
committed
refactor: remove unnecessary div wrapper in Modal component
Signed-off-by: Amit Amrutiya <[email protected]>
1 parent 5529c34 commit 779ac4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/custom/Modal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const ModalFooter: React.FC<ModalFooterProps> = ({ helpText, children, va
168168
</IconButton>
169169
</CustomTooltip>
170170
)}
171-
<div>{children}</div>
171+
{children}
172172
</StyledFooter>
173173
);
174174
};

0 commit comments

Comments
 (0)