File tree Expand file tree Collapse file tree
app/(dashboard)/admin/products/[id] Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -269,6 +269,7 @@ const DashboardProductDetails = ({
269269 type = "file"
270270 className = "file-input file-input-bordered file-input-lg w-full max-w-sm"
271271 onChange = { ( e ) => {
272+ // @ts -ignore
272273 const selectedFile = e . target . files [ 0 ] ;
273274
274275 if ( selectedFile ) {
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { FaTable } from "react-icons/fa6";
1414import { FaRegUser } from "react-icons/fa6" ;
1515import { FaGear } from "react-icons/fa6" ;
1616import { FaBagShopping } from "react-icons/fa6" ;
17+ import { FaStore } from "react-icons/fa6" ;
1718import { MdCategory } from "react-icons/md" ;
1819
1920
@@ -52,12 +53,18 @@ const DashboardSidebar = () => {
5253 < span className = "font-normal" > Users</ span >
5354 </ div >
5455 </ Link >
55- < Link href = "/admin/settings " >
56+ < Link href = "/admin/Merchant " >
5657 < div className = "flex gap-x-2 w-full hover:bg-blue-600 cursor-pointer items-center py-6 pl-5 text-xl text-white" >
57- < FaGear className = "text-2xl" /> { " " }
58- < span className = "font-normal" > Settings </ span >
58+ < FaStore className = "text-2xl" /> { " " }
59+ < span className = "font-normal" > Merchant </ span >
5960 </ div >
6061 </ Link >
62+ < Link href = "/admin/settings" >
63+ < div className = "flex gap-x-2 w-full hover:bg-blue-600 cursor-pointer items-center py-6 pl-5 text-xl text-white" >
64+ < FaGear className = "text-2xl" /> { " " }
65+ < span className = "font-normal" > Settings</ span >
66+ </ div >
67+ </ Link >
6168 </ div >
6269 ) ;
6370} ;
You can’t perform that action at this time.
0 commit comments