chore: fix all @typescript-eslint/no-unused-vars warnings (#10645)
Co-authored-by: gitstart-calcom <[email protected]> Co-authored-by: Hariom Balhara <[email protected]> Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
23 files changed
+42
-87
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import React, { forwardRef } from "react";
|
||||
|
||||
export const Discord = forwardRef<SVGSVGElement, React.SVGProps<SVGSVGElement>>(function Discord(props, ref) {
|
||||
export const Discord = forwardRef<SVGSVGElement, React.SVGProps<SVGSVGElement>>(function Discord(props) {
|
||||
return (
|
||||
<svg
|
||||
className={props.className}
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
import { render } from "@testing-library/react";
|
||||
import { vi } from "vitest";
|
||||
|
||||
import { ScrollableArea } from "./ScrollableArea";
|
||||
|
||||
describe("Tests for ScrollableArea Component", () => {
|
||||
const toJSONMock = vi.fn();
|
||||
test("Should render children inside the scrollable area", () => {
|
||||
const { getByText } = render(
|
||||
<ScrollableArea>
|
||||
|
||||
@@ -35,6 +35,7 @@ SheetPortal.displayName = SheetPrimitive.Portal.displayName;
|
||||
const SheetOverlay = React.forwardRef<
|
||||
React.ElementRef<typeof SheetPrimitive.Overlay>,
|
||||
React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
>(({ className, children, ...props }, ref) => (
|
||||
<SheetPrimitive.Overlay
|
||||
className={classNames(
|
||||
|
||||
Reference in new issue
Block a user