Skip to content

Commit

Permalink
fix: react is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
wkylin committed Dec 25, 2024
1 parent b2d71bb commit 233dc2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/stateless/HorizontalScroll/index.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useRef } from 'react'
import React, { useRef } from 'react'

Check warning on line 1 in src/components/stateless/HorizontalScroll/index.jsx

View workflow job for this annotation

GitHub Actions / Qodana for JS

Unused import

Unused import specifier useRef

Check failure on line 1 in src/components/stateless/HorizontalScroll/index.jsx

View workflow job for this annotation

GitHub Actions / Qodana for JS

ESLint

ESLint: Install the 'eslint' package
import { motion, useTransform, useScroll } from 'motion/react'

Check warning on line 2 in src/components/stateless/HorizontalScroll/index.jsx

View workflow job for this annotation

GitHub Actions / Qodana for JS

Unused import

Unused ``` import { motion, useTransform, useScroll } from 'motion/react' ```

const cards = [
Expand Down

0 comments on commit 233dc2e

Please sign in to comment.