Skip to content

Commit

Permalink
Recruiter Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
promiseonuoha committed Nov 6, 2024
1 parent f6c7f80 commit ce1d6a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default function CompaniesOverview() {
const handleFetchMore = async () => {
try {
await getCompanies({
url: currentPageInfo.next_page_url.slice(34),
url: currentPageInfo.next_page_url.slice(33),
setData: res => {
setCurrentPageInfo(res.companies)
setData(prev => [...prev, ...res.companies.data])
Expand Down
2 changes: 1 addition & 1 deletion app/(authenticated)/notifications/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function Notifications() {

const handleFetchMore = () => {
getNotifications({
url: currentPageInfo.next_page_url.slice(34),
url: currentPageInfo.next_page_url.slice(33),
setLoading,
setData: data => {
setCurrentPageInfo(data.notifications)
Expand Down

0 comments on commit ce1d6a9

Please sign in to comment.