added eslint and prettier and formatted the whole codebase

This commit is contained in:
asif
2025-08-25 02:00:54 +05:30
parent 700a9261a8
commit f400490b65
54 changed files with 1119 additions and 969 deletions

View File

@@ -1,6 +1,6 @@
import { motion } from "motion/react";
import ProductListTable from "./ProductListTable";
import PropTypes from "prop-types";
import { motion } from 'motion/react';
import ProductListTable from './ProductListTable';
import PropTypes from 'prop-types';
function ProductModal({ productInfo, handleProductSelect }) {
return (
@@ -18,10 +18,7 @@ function ProductModal({ productInfo, handleProductSelect }) {
className="flex flex-col items-center bg-white p-4 py-8 rounded-3xl w-[60%] max-h-[80%] overflow-auto font-body"
>
<h2 className="text-xl mb-4">Select Product</h2>
<ProductListTable
productInfo={productInfo}
onSelectProduct={handleProductSelect}
/>
<ProductListTable productInfo={productInfo} onSelectProduct={handleProductSelect} />
</motion.div>
</motion.div>
);