Skip to content

Commit

Permalink
fix: eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
RPDeshaies committed Nov 5, 2024
1 parent 3f2f9e4 commit a309d3b
Show file tree
Hide file tree
Showing 3 changed files with 371 additions and 394 deletions.
1 change: 0 additions & 1 deletion lib/components/Page/NavLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export function NavLink(props: {
endIcon?: React.ReactNode;
children: React.ReactNode;
}) {
const theme = useTheme();
if (props.to) {
return (
<Tooltip title={props.tooltip ?? ""}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ import Fade from "@mui/material/Fade";
import IconButton from "@mui/material/IconButton";
import { useTheme } from "@mui/material/styles";
import TextField from "@mui/material/TextField";
import React, { useContext, useState } from "react";
import React, { useState } from "react";
import { ConditionalWrapper } from "../../../../../components/ConditionalWrapper/ConditionalWrapper";
import { Delays } from "../../../../../constants/Delays";
import { IDataCyProps } from "../../../../../domains/cypress/types/IDataCyProps";
import { useLazyState } from "../../../../../hooks/useLazyState/useLazyState";
import { MiniThemeContext } from "../MiniThemeContext";

export function CircleTextField(
props: {
Expand All @@ -27,8 +26,6 @@ export function CircleTextField(
onContextMenu?(event: React.MouseEvent<HTMLElement, MouseEvent>): void;
} & IDataCyProps
) {
const miniTheme = useContext(MiniThemeContext);

const theme = useTheme();
const [hover, setHover] = useState(false);
const [focus, setFocus] = useState(false);
Expand Down
Loading

0 comments on commit a309d3b

Please sign in to comment.