Skip to content

Commit

Permalink
fix: Build failure problem
Browse files Browse the repository at this point in the history
  • Loading branch information
peng-xiao-shuai committed Jul 4, 2024
1 parent 9d3a5fe commit d5a4642
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/app/(payload)/admin/[[...segments]]/not-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,11 @@ type Args = {
};
};

export const generateMetadata = ({ params }: Args): Promise<Metadata> =>
generatePageMetadata({ config, params });
export const generateMetadata = ({
params,
searchParams,
}: Args): Promise<Metadata> =>
generatePageMetadata({ config, params, searchParams });

const NotFound = ({ params, searchParams }: Args) =>
NotFoundPage({ config, params, searchParams });
Expand Down
2 changes: 1 addition & 1 deletion src/context/PopoversContext.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import type { CommandType } from '@/app/[lng]/chat-room/_components/ClientChatPopoverContent';
import type { CommandType } from '@/app/(app)/[lng]/chat-room/_components/ClientChatPopoverContent';
import type { ChatMsg } from '@/hooks/use-pusher';
import type React from 'react';
import { MutableRefObject, createContext } from 'react';
Expand Down

0 comments on commit d5a4642

Please sign in to comment.