mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-06-15 12:31:21 +00:00
Remove tooltip
This commit is contained in:
parent
4be9893465
commit
d51b344c1c
@ -30,12 +30,6 @@ const LanguageSelector = () => {
|
|||||||
return (
|
return (
|
||||||
<Box ref={selectorRef}>
|
<Box ref={selectorRef}>
|
||||||
{!showSelect && (
|
{!showSelect && (
|
||||||
<Tooltip
|
|
||||||
key={currentLang}
|
|
||||||
title={t('core:action.change_language', {
|
|
||||||
postProcess: 'capitalizeFirstChar',
|
|
||||||
})}
|
|
||||||
>
|
|
||||||
<Button
|
<Button
|
||||||
onClick={() => setShowSelect(true)}
|
onClick={() => setShowSelect(true)}
|
||||||
style={{
|
style={{
|
||||||
@ -48,7 +42,6 @@ const LanguageSelector = () => {
|
|||||||
>
|
>
|
||||||
{flag}
|
{flag}
|
||||||
</Button>
|
</Button>
|
||||||
</Tooltip>
|
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{showSelect && (
|
{showSelect && (
|
||||||
|
@ -19,17 +19,6 @@ const ThemeSelector = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<Box ref={selectorRef}>
|
<Box ref={selectorRef}>
|
||||||
<Tooltip
|
|
||||||
title={
|
|
||||||
themeMode === 'dark'
|
|
||||||
? t('core:theme.light_mode', {
|
|
||||||
postProcess: 'capitalizeFirstChar',
|
|
||||||
})
|
|
||||||
: t('core:theme.dark_mode', {
|
|
||||||
postProcess: 'capitalizeFirstChar',
|
|
||||||
})
|
|
||||||
}
|
|
||||||
>
|
|
||||||
<IconButton
|
<IconButton
|
||||||
onClick={toggleTheme}
|
onClick={toggleTheme}
|
||||||
sx={{
|
sx={{
|
||||||
@ -38,7 +27,6 @@ const ThemeSelector = () => {
|
|||||||
>
|
>
|
||||||
{themeMode === 'dark' ? <LightModeIcon /> : <DarkModeIcon />}
|
{themeMode === 'dark' ? <LightModeIcon /> : <DarkModeIcon />}
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user