update for testing build,
This commit is contained in:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user