Commit 75153b69 by Arjun Jhukal

fixed the build issue at notification

parent 9c312e33
import AddNotificationForm from '@/components/pages/dashboard/adminDashboard/notifications/addNotification' import AddNotificationForm from '@/components/pages/dashboard/adminDashboard/notifications/addNotification'
import React from 'react'
export default function AddNotifications() { export default function AddNotifications() {
return ( return (
......
import AddNotificationForm from '@/components/pages/dashboard/adminDashboard/notifications/addNotification' import AddNotificationForm from '@/components/pages/dashboard/adminDashboard/notifications/addNotification';
import React from 'react'
export default async function EditNotification(props: { params: Promise<{ id: string }> }) { export default async function EditNotification() {
const { id } = await props.params;
return ( return (
<AddNotificationForm id={id} /> <AddNotificationForm />
) )
} }
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