Skip to content

Commit

Permalink
Merge pull request #31 from DDD-Community/feat/#28
Browse files Browse the repository at this point in the history
[feat/#28] 빌드 오류 수정
  • Loading branch information
lkhoony authored Aug 25, 2024
2 parents a14db71 + 454fe5f commit b9bbe3b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/PoseDetector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const PoseDetector: React.FC = () => {
useEffect(() => {
getUserSnap()
}, [snapshot])

// const initializePoseMonitoring = () => {
// setIsTextNeck(null)
// setSlope(null)
Expand All @@ -181,12 +181,12 @@ const PoseDetector: React.FC = () => {
// }

// 팝업 열기
const handleShowPopup = () => {
const handleShowPopup = () : void => {
setIsPopupVisible(true)
}

// 팝업 닫기
const handleClosePopup = () => {
const handleClosePopup = () : void => {
setIsPopupVisible(false)
}

Expand Down
4 changes: 2 additions & 2 deletions src/hooks/useSnapshotMutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { useMutation, UseMutationResult } from "@tanstack/react-query"

export const useCreateSnaphot = (): UseMutationResult<createSnapshotRes, unknown, snapshot, unknown> => {
return useMutation({
mutationFn: (snapshot: snapshot) => {
return createSnapshot(snapshot)
mutationFn: (_snapshot: snapshot) => {
return createSnapshot(_snapshot)
},
onSuccess: (data) => {
console.log(data)
Expand Down
1 change: 0 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from "react"
import ReactDOM from "react-dom/client"
import App from "./App"
import "@/style/tailwind.css"
Expand Down

0 comments on commit b9bbe3b

Please sign in to comment.