Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
update: component name
Browse files Browse the repository at this point in the history
  • Loading branch information
emre-cil committed Dec 22, 2022
1 parent 51ec13e commit ebd3df4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { changeMode, selectMode } from '../../features/user/userSlice';
import { Stack, Box, Typography, IconButton } from '@mui/material';
import Brightness4Icon from '@mui/icons-material/Brightness4';
import { useDispatch, useSelector } from 'react-redux';
const Theme = () => {
const TemplateTester = () => {
const dispatch = useDispatch();
const mode = useSelector(selectMode);

Expand Down Expand Up @@ -128,4 +128,4 @@ const Theme = () => {
);
};

export default Theme;
export default TemplateTester;
4 changes: 2 additions & 2 deletions src/pages/Home/Home.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Typography, Stack, Container } from '@mui/material';
import Counter from '../../components/Counter/Counter';
import Theme from '../../components/Theme/Theme';
import TemplateTester from '../../components/TemplateTester/TemplateTester';

const Home = () => {
return (
Expand All @@ -13,7 +13,7 @@ const Home = () => {
React + Redux + MuI + Axios + ESlint + Prettier
</Typography>
</Stack>
<Theme />
<TemplateTester />
<Counter />
</Container>
);
Expand Down

0 comments on commit ebd3df4

Please sign in to comment.