diff --git a/src/app/3cp/account-verification/page.tsx b/src/app/3cp/account-verification/page.tsx index fabee53..271e2fd 100644 --- a/src/app/3cp/account-verification/page.tsx +++ b/src/app/3cp/account-verification/page.tsx @@ -29,7 +29,7 @@ export type accountType = { updatedAt: Date | undefined | string; }; -const AccountVefication = () => { +const AccountVerification = () => { const [activeSection, setActiveSection] = useState('PENDING'); const [currentAccountList, setCurrentAccountList] = useState( [] @@ -92,4 +92,4 @@ const AccountVefication = () => { ); }; -export default AccountVefication; +export default AccountVerification; diff --git a/src/app/3cp/marketplace/page.tsx b/src/app/3cp/marketplace/page.tsx index 010abd8..cbe3bbd 100644 --- a/src/app/3cp/marketplace/page.tsx +++ b/src/app/3cp/marketplace/page.tsx @@ -65,7 +65,7 @@ const MarketPlace = () => { return (
- + {loading && (
diff --git a/src/app/user-management/user-wallet/[id]/page.tsx b/src/app/user-management/user-wallet/[id]/page.tsx index 3a72391..b6443a0 100644 --- a/src/app/user-management/user-wallet/[id]/page.tsx +++ b/src/app/user-management/user-wallet/[id]/page.tsx @@ -124,7 +124,7 @@ const AddToWallet = ({ params }: { params: { id: string } }) => {

Wallet Balance

- Cr {data?.credits ?? '--'} + Cr. {data?.credits ?? '--'}

diff --git a/src/app/user-management/user-wallet/layout.tsx b/src/app/user-management/user-wallet/layout.tsx index 92022b6..89071b1 100644 --- a/src/app/user-management/user-wallet/layout.tsx +++ b/src/app/user-management/user-wallet/layout.tsx @@ -8,7 +8,7 @@ import ProfileNavbar from '@/components/wpcasOverView/ProfileNavbar'; import UserWalletContext from '@/app/context/UserWalletContext'; export default function Layout({ children }: { children: React.ReactNode }) { - const heading = 'Payments'; + const heading = 'User Wallet'; const pathname = usePathname(); return (
diff --git a/src/components/3cp/AccountItems.tsx b/src/components/3cp/AccountItems.tsx index 3fc77ce..a836e9b 100644 --- a/src/components/3cp/AccountItems.tsx +++ b/src/components/3cp/AccountItems.tsx @@ -12,7 +12,7 @@ const AccountItems = ({ fetchData: () => void; }) => { return ( -
+
{accountList?.map((account) => { return (
) : ( - + )}
); diff --git a/src/components/3cp/CourseSection.tsx b/src/components/3cp/CourseSection.tsx index a64833f..d80cafd 100644 --- a/src/components/3cp/CourseSection.tsx +++ b/src/components/3cp/CourseSection.tsx @@ -34,6 +34,9 @@ const CourseSection = ({ const [showReset, setShowReset] = useState(false); const handleSearch = () => { + if (!input.language && !input.competency && !input.course && !showReset) { + return; + } const filteredCourses = courseList?.filter((course) => { const courseTitleLower = course?.title?.toLowerCase(); const inputCourseLower = input?.course?.toLowerCase(); diff --git a/src/components/3cp/SearchCourse.tsx b/src/components/3cp/SearchCourse.tsx index 54b9d53..4d1db07 100644 --- a/src/components/3cp/SearchCourse.tsx +++ b/src/components/3cp/SearchCourse.tsx @@ -31,9 +31,9 @@ const SearchCourse = ({ setShowReset, }: PropType) => { return ( -
+
{ setShowReset(false); onChange({ ...value, course: updatedValue }); diff --git a/src/components/3cp/SingleAccount.tsx b/src/components/3cp/SingleAccount.tsx index 3d5222a..2920643 100644 --- a/src/components/3cp/SingleAccount.tsx +++ b/src/components/3cp/SingleAccount.tsx @@ -99,7 +99,7 @@ const SingleAccount = ({ : 'text-[#385B8B]' } `} > - {activeSection === 'REJECTED' ? 'Rejected' : 'Onboard'} On{' '} + {activeSection === 'REJECTED' ? 'Rejected' : 'Approved'} On{' '} {account?.updatedAt ? formatDate(account?.updatedAt) : '--'}

diff --git a/src/components/3cp/SingleCourse.tsx b/src/components/3cp/SingleCourse.tsx index 0f21b46..90876e9 100644 --- a/src/components/3cp/SingleCourse.tsx +++ b/src/components/3cp/SingleCourse.tsx @@ -64,7 +64,6 @@ const SingleCourse = ({ className='rounded-xl' />
- {/* centerItem */}

diff --git a/src/components/navbar/MarketPlaceNavbar.tsx b/src/components/navbar/MarketPlaceNavbar.tsx index 0036193..e33dc88 100644 --- a/src/components/navbar/MarketPlaceNavbar.tsx +++ b/src/components/navbar/MarketPlaceNavbar.tsx @@ -3,6 +3,7 @@ import { usePathname } from 'next/navigation'; import { outfit } from '@/components/FontFamily'; + const MarketPlaceNavbar = ({ activeSection, setActiveSection, diff --git a/src/components/uiComponents/NoCoursesAdded.tsx b/src/components/uiComponents/NoCoursesAdded.tsx index ee46316..7073e42 100644 --- a/src/components/uiComponents/NoCoursesAdded.tsx +++ b/src/components/uiComponents/NoCoursesAdded.tsx @@ -2,11 +2,7 @@ import React from 'react'; import EmptyBox from '~/svg/emptyBox.svg'; -const NoCoursesAdded = ({ - text = 'No courses added yet!', -}: { - text?: string; -}) => { +const NoCoursesAdded = ({ text = 'No courses' }: { text?: string }) => { return (

diff --git a/src/components/uiComponents/SearchInput.tsx b/src/components/uiComponents/SearchInput.tsx index 6518664..5b28e18 100644 --- a/src/components/uiComponents/SearchInput.tsx +++ b/src/components/uiComponents/SearchInput.tsx @@ -15,7 +15,7 @@ const SearchInput = ({ onChange, }: PropsType) => { return ( -
+
- Are you sure want to {isAddWallet ? 'add' : 'remove'} {credit} Cr to + Are you sure want to {isAddWallet ? 'add' : 'remove'} {credit} Cr from this wallet
diff --git a/src/components/userManagement/UserWalletTable.tsx b/src/components/userManagement/UserWalletTable.tsx index ca84e87..82db197 100644 --- a/src/components/userManagement/UserWalletTable.tsx +++ b/src/components/userManagement/UserWalletTable.tsx @@ -44,7 +44,7 @@ const UserWalletTable = ({ handleSearch(value)} - placeholder='Search User' + placeholder='Search User Name' />
diff --git a/src/styles/globals.css b/src/styles/globals.css index 968fa36..9710452 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -48,6 +48,17 @@ /* display: none; */ } +/* Hide the up and down arrows for number input */ +input[type='number']::-webkit-inner-spin-button, +input[type='number']::-webkit-outer-spin-button { + -webkit-appearance: none; + margin: 0; +} + +input[type='number'] { + -moz-appearance: textfield; /* Firefox */ +} + @layer base { /* inter var - latin */ @font-face {