Spaces:
Sleeping
Sleeping
Florin Bobiș
commited on
Commit
•
ac4aa3f
1
Parent(s):
c547da1
fixed eslint issues
Browse files
src/components/ui/compare.tsx
CHANGED
@@ -1,9 +1,11 @@
|
|
|
|
1 |
"use client";
|
2 |
import React, { useState, useEffect, useRef, useCallback } from "react";
|
3 |
import { SparklesCore } from "@/components/ui/sparkles";
|
4 |
import { AnimatePresence, motion } from "framer-motion";
|
5 |
import { cn } from "@/lib/utils";
|
6 |
import { IconDotsVertical } from "@tabler/icons-react";
|
|
|
7 |
|
8 |
interface CompareProps {
|
9 |
firstImage?: string;
|
@@ -206,7 +208,7 @@ export const Compare = ({
|
|
206 |
}}
|
207 |
transition={{ duration: 0 }}
|
208 |
>
|
209 |
-
<
|
210 |
alt="first image"
|
211 |
src={firstImage}
|
212 |
className={cn(
|
|
|
1 |
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
2 |
"use client";
|
3 |
import React, { useState, useEffect, useRef, useCallback } from "react";
|
4 |
import { SparklesCore } from "@/components/ui/sparkles";
|
5 |
import { AnimatePresence, motion } from "framer-motion";
|
6 |
import { cn } from "@/lib/utils";
|
7 |
import { IconDotsVertical } from "@tabler/icons-react";
|
8 |
+
import Image from "next/image";
|
9 |
|
10 |
interface CompareProps {
|
11 |
firstImage?: string;
|
|
|
208 |
}}
|
209 |
transition={{ duration: 0 }}
|
210 |
>
|
211 |
+
<Image
|
212 |
alt="first image"
|
213 |
src={firstImage}
|
214 |
className={cn(
|
src/components/ui/container-scroll-animation.tsx
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
"use client";
|
2 |
import React, { useRef } from "react";
|
3 |
import { useScroll, useTransform, motion, MotionValue } from "framer-motion";
|
|
|
1 |
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
2 |
"use client";
|
3 |
import React, { useRef } from "react";
|
4 |
import { useScroll, useTransform, motion, MotionValue } from "framer-motion";
|
src/components/ui/cover.tsx
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
"use client";
|
2 |
import React, { useEffect, useId, useState } from "react";
|
3 |
import { AnimatePresence, motion } from "framer-motion";
|
|
|
1 |
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
2 |
"use client";
|
3 |
import React, { useEffect, useId, useState } from "react";
|
4 |
import { AnimatePresence, motion } from "framer-motion";
|
src/components/ui/input.tsx
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import * as React from "react"
|
2 |
|
3 |
import { cn } from "@/lib/utils"
|
|
|
1 |
+
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
2 |
import * as React from "react"
|
3 |
|
4 |
import { cn } from "@/lib/utils"
|
src/components/ui/sparkles.tsx
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
"use client";
|
2 |
import React, { useId, useMemo } from "react";
|
3 |
import { useEffect, useState } from "react";
|
|
|
1 |
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
2 |
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
3 |
"use client";
|
4 |
import React, { useId, useMemo } from "react";
|
5 |
import { useEffect, useState } from "react";
|