Skip to content

Commit

Permalink
edit Product page
Browse files Browse the repository at this point in the history
  • Loading branch information
KassemHachi committed Jul 6, 2023
1 parent 8e565b6 commit 9209b8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/Products.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from 'react'
import React, {useState } from 'react'
import Layout from '../Components/Layout'
import Side from '../Components/Side'
import SideBar from '../Components/SideBar'
Expand All @@ -10,8 +10,8 @@ import AddProductModal from '../Components/AddProductModal'
import { Button, ButtonGroup } from '@mui/material'
import { AiFillFileAdd, AiFillDelete, AiTwotoneEdit } from 'react-icons/ai';

export default function products() {
const [visible, setVisible] = React.useState(false);
export default function Products() {
const [visible, setVisible] = useState(false);
const handler = () => setVisible(true);

const closeHandler = () => {
Expand Down

0 comments on commit 9209b8b

Please sign in to comment.