Pass object instead of array in context provider

This commit is contained in:
Ariful Alam committed 2022-03-19 16:16:47 +06:00
1 parent 2b94b40bf3
commit b69ced8ce0
10 files changed
+15 -13

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import { skeleton } from '../../helpers/utils';
import LazyImage from '../lazy-image';
const AvatarCard = (props) => {
const [loading] = useContext(LoadingContext);
const { loading } = useContext(LoadingContext);
return (
<div className="card shadow-lg compact bg-base-100">