mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix web select warnings due to refs
This commit is contained in:
parent
27ae6b512b
commit
e60a1e5a25
@ -77,7 +77,7 @@ export const Select = ({
|
||||
})}
|
||||
>
|
||||
<P {...css({ textAlign: "center" }, "text")}>{<RSelect.Value />}</P>
|
||||
<RSelect.Icon asChild>
|
||||
<RSelect.Icon>
|
||||
<Icon icon={ExpandMore} />
|
||||
</RSelect.Icon>
|
||||
</View>
|
||||
@ -100,7 +100,7 @@ export const Select = ({
|
||||
maxHeight: "calc(var(--radix-dropdown-menu-content-available-height) * 0.8)",
|
||||
})}
|
||||
>
|
||||
<RSelect.ScrollUpButton asChild>
|
||||
<RSelect.ScrollUpButton>
|
||||
<Icon icon={ExpandLess} />
|
||||
</RSelect.ScrollUpButton>
|
||||
<RSelect.Viewport>
|
||||
@ -108,7 +108,7 @@ export const Select = ({
|
||||
<Item key={x} label={getLabel(x)} value={x} />
|
||||
))}
|
||||
</RSelect.Viewport>
|
||||
<RSelect.ScrollDownButton asChild>
|
||||
<RSelect.ScrollDownButton>
|
||||
<Icon icon={ExpandMore} />
|
||||
</RSelect.ScrollDownButton>
|
||||
</RSelect.Content>
|
||||
|
@ -18,7 +18,6 @@
|
||||
* along with Kyoo. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
import { setUserTheme, useAccount } from "@kyoo/models";
|
||||
import { Select } from "@kyoo/primitives";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Preference, SettingsContainer, useSetting } from "./base";
|
||||
|
Loading…
x
Reference in New Issue
Block a user