Update repo name

This commit is contained in:
Ariful Alam
2022-03-20 02:23:44 +06:00
parent b864c2cdd7
commit 20ac254201
17 changed files with 64 additions and 64 deletions

View File

@@ -1,13 +1,13 @@
import { AiOutlineControl } from 'react-icons/ai';
import { skeleton } from '../../helpers/utils';
import config from '../../ezprofile.config';
import config from '../../gitprofile.config';
import PropTypes from 'prop-types';
const ThemeChanger = ({ theme, setTheme, loading }) => {
const changeTheme = (e, selectedTheme) => {
e.preventDefault();
document.querySelector('html').setAttribute('data-theme', selectedTheme);
localStorage.setItem('ezprofile-theme', selectedTheme);
localStorage.setItem('gitprofile-theme', selectedTheme);
setTheme(selectedTheme);
};