Update 'src/contexts/CoursesProvider.tsx'
This commit is contained in:
parent
ec1012b3a0
commit
4d5c2f8d28
@ -205,7 +205,6 @@ export const CoursesProvider = ({ children }: CoursesProviderProps) => {
|
|||||||
);
|
);
|
||||||
const basket = data === '' ? [] : data;
|
const basket = data === '' ? [] : data;
|
||||||
setBasket(basket);
|
setBasket(basket);
|
||||||
console.log("basket:",basket);
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user