Remove context for state management

This commit is contained in:
Ariful Alam committed 2022-03-19 16:34:13 +06:00
1 parent b69ced8ce0
commit ab55fa68f1
13 files changed
+61 -140

No files matched your search

+1 -5
View File
@@ -1,11 +1,7 @@
import { useContext } from 'react';
import { LoadingContext } from '../../contexts/LoadingContext';
import config from '../../ezprofile.config';
import { skeleton } from '../../helpers/utils';
const Skill = () => {
const { loading } = useContext(LoadingContext);
const Skill = ({ loading }) => {
const renderSkeleton = () => {
let array = [];
for (let index = 0; index < 12; index++) {