Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jitheshm committed Sep 12, 2024
1 parent 0af0a79 commit 5e908ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import UserForm from '@/components/common/Forms/UserForm';
import AdminPanelUserForm from '@/components/common/Forms/AdminPanelUserForm';
import React from 'react'

const roles = [{ name: 'Manager', value: 'Manager' },{ name: 'Project_Manager', value: 'Project_Manager' }, { name: 'Developer', value: 'Developer' }, { name: 'Tester', value: 'Tester' }];

function page({ params }: { params: { userId: string } }) {
return (
<UserForm edit={true} userId={params.userId} roles={roles} />
<AdminPanelUserForm edit={true} userId={params.userId} />
)
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import UserForm from '@/components/common/Forms/UserForm';
import AdminPanelUserForm from '@/components/common/Forms/AdminPanelUserForm';
import React from 'react'

const roles = [{ name: 'Manager', value: 'Manager' },{ name: 'Project_Manager', value: 'Project_Manager' }, { name: 'Developer', value: 'Developer' }, { name: 'Tester', value: 'Tester' }];

function page() {
return (
<UserForm roles={roles} />
<AdminPanelUserForm />

)
}
Expand Down

0 comments on commit 5e908ee

Please sign in to comment.