update for testing build,

This commit is contained in:
louiscklaw
2025-04-22 02:47:56 +08:00
parent 374e3de59b
commit aabf729dbf
45 changed files with 5242 additions and 625 deletions

View File

@@ -26,14 +26,14 @@ export const LpQuestionsSelectionContext = React.createContext<LpQuestionsSelect
interface LpQuestionsSelectionProviderProps {
children: React.ReactNode;
lessonCategories: LpQuestion[];
lessonQuestions: LpQuestion[];
}
export function LpQuestionsSelectionProvider({
children,
lessonCategories = [],
lessonQuestions = [],
}: LpQuestionsSelectionProviderProps): React.JSX.Element {
const customerIds = React.useMemo(() => lessonCategories.map((customer) => customer.id), [lessonCategories]);
const customerIds = React.useMemo(() => lessonQuestions.map((customer) => customer.id), [lessonQuestions]);
const selection = useSelection(customerIds);
return (