mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 16:07:50 +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, { useCallback } from 'react';
|
||||
import { makeStyles } from 'tss-react/mui';
|
||||
|
||||
@@ -15,7 +14,7 @@ interface IProps extends ISwitchProps {
|
||||
id?: string;
|
||||
}
|
||||
|
||||
const useStyles = makeStyles()((theme: Theme) => {
|
||||
const useStyles = makeStyles()(theme => {
|
||||
return {
|
||||
container: {
|
||||
position: 'relative',
|
||||
|
||||
Reference in New Issue
Block a user