refactor(frontend): remove dead code
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
import clsx from "clsx";
|
||||
|
||||
type props = {
|
||||
children: React.ReactNode,
|
||||
className?: string
|
||||
}
|
||||
type Props = {
|
||||
children: React.ReactNode;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
const Box = ({children, className}: props) => {
|
||||
return (
|
||||
<div className={clsx("bg-white border border-gray-200 shadow-sm rounded-lg", className)}>
|
||||
{ children }
|
||||
</div>
|
||||
)
|
||||
}
|
||||
const Box = ({ children, className }: Props) => (
|
||||
<div className={clsx("bg-white border border-gray-200 shadow-sm rounded-lg", className)}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Box;
|
||||
export default Box;
|
||||
|
||||
Reference in New Issue
Block a user