mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-06-10 04:17:15 +00:00
Remove context for state management
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user