mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 13:57:53 +00:00
fix(styles) Remove Theme type annotation (#12544)
* tss-react doesn't need a type anotation for the Theme * Update tss-react to 4.4.4
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import { Theme } from '@mui/material';
|
||||
import React, { ReactNode, useEffect, useLayoutEffect, useRef, useState } from 'react';
|
||||
import { useSelector } from 'react-redux';
|
||||
import { makeStyles } from 'tss-react/mui';
|
||||
@@ -104,7 +103,7 @@ interface IProps {
|
||||
|
||||
const MAX_HEIGHT = 400;
|
||||
|
||||
const useStyles = makeStyles()((theme: Theme) => {
|
||||
const useStyles = makeStyles()(theme => {
|
||||
return {
|
||||
contextMenu: {
|
||||
backgroundColor: theme.palette.ui01,
|
||||
|
||||
Reference in New Issue
Block a user