Commit 02310fd9 by Arjun Jhukal

updated the notification icon

parent 7ac2e08e
import { PATH } from '@/routes/PATH';
import { List, ListItem, ListItemButton, ListItemIcon, ListItemText } from '@mui/material'
import { Game, Paperclip2, Setting, Setting2, StatusUp, UserSearch } from '@wandersonalwes/iconsax-react'
import { Game, Notification, Paperclip2, Setting, Setting2, StatusUp, UserSearch } from '@wandersonalwes/iconsax-react'
import { usePathname, useRouter } from 'next/navigation'
import React from 'react'
......@@ -104,7 +104,7 @@ export default function AdminMenu({ open }: { open: boolean }) {
>
<ListItemIcon className={open ? "expanded" : "collapsed"}>
<Paperclip2 />
<Notification />
</ListItemIcon>
<ListItemText
primary="Notifications"
......
......@@ -233,7 +233,7 @@ export default function SiteSetting() {
formik.setFieldValue(`unique_selling_points[${index}].icon`, file)
}
onBlur={() => formik.setFieldTouched(`unique_selling_points[${index}].icon`, true)}
serverFile={data?.data?.unique_selling_points[index].icon}
serverFile={data?.data?.unique_selling_points[index]?.icon}
/>
<span className="error">
{formik.touched.unique_selling_points?.[index]?.icon &&
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment