Skip to content

Commit

Permalink
god i love the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Teltta committed Oct 12, 2023
1 parent 76ddc37 commit a011063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { components } from "replugged";
import { cfg, toggleDisabledIndicator } from ".";

export const Icon = ({ type }: { type?: { analyticsName?: string } }): React.JSX.Element | null => {
if (["sidebar","normal"].every((val) => val !== type?.analyticsName)) return null;
if (["sidebar", "normal"].every((val) => val !== type?.analyticsName)) return null;

const silent = cfg.get("silent");
const buttonEnabled = cfg.get("buttonEnabled");
Expand Down

0 comments on commit a011063

Please sign in to comment.