Skip to content

Commit fb9198a

Browse files
authored
mui sonunda istediğimiz icon'ları eklemiş yeni ama buraya atmadığım 2 projemde de bunları değiştim
1 parent c7cc3dd commit fb9198a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Header/Header.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ MenuItem,
1414
Typography,
1515
} from '@mui/material';
1616
import MenuIcon from '@mui/icons-material/Menu';
17-
import WbSunnyIcon from '@mui/icons-material/WbSunny';
18-
import NightlightIcon from '@mui/icons-material/Nightlight';
17+
import DarkModeIcon from '@mui/icons-material/DarkMode';
18+
import LightModeIcon from '@mui/icons-material/LightMode';
1919
import TranslateIcon from '@mui/icons-material/Translate';
2020
import CloseIcon from '@mui/icons-material/Close';
2121
import { useTheme } from '@mui/material/styles';
@@ -66,7 +66,7 @@ const changeLanguage = async (lang: string) => {
6666
}
6767
};
6868

69-
const ThemeIcon = darkMode ? WbSunnyIcon : NightlightIcon;
69+
const ThemeIcon = darkMode ? DarkModeIcon : LightModeIcon;
7070

7171
const modalVariants = {
7272
hidden: { opacity: 0, scale: 0.8 },

0 commit comments

Comments
 (0)