Skip to content

Commit

Permalink
chore: lintエラーになる使っていない変数をスルーするように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
Ojoxux committed Nov 15, 2024
1 parent 2e7a89d commit af0ed0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Profile/ProfileMasonry.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { useState, useEffect } from 'react';
import { useNavigate } from 'react-router-dom';
import Masonry from 'react-masonry-css';
import { Box } from '@chakra-ui/react';
// eslint-disable-next-line no-unused-vars
import { motion } from 'framer-motion';
import { auth, db } from '../../config/firebase';
import { collection, query, where, getDocs, orderBy } from 'firebase/firestore';
Expand All @@ -19,17 +20,19 @@ import AchievementCard from './AchievementCard';
import HallOfFameCard from './HallOfFameCard';
import '../ProfileStyles.css';

const MotionBox = motion(Box);
//const MotionBox = motion(Box);

const ProfileMasonry = () => {
const navigate = useNavigate();
const [loading, setLoading] = useState(true);
const [user, setUser] = useState(null);
// eslint-disable-next-line no-unused-vars
const [userStats, setUserStats] = useState({
totalPosts: 0,
totalHallOfFame: 0,
streak: 0,
});
// eslint-disable-next-line no-unused-vars
const [achievements, setAchievements] = useState([]);
const [hallOfFamePosts, setHallOfFamePosts] = useState([]);

Expand Down

0 comments on commit af0ed0d

Please sign in to comment.