Skip to content

Commit

Permalink
FIX: 알림소리 s3에 업로드
Browse files Browse the repository at this point in the history
  • Loading branch information
DeveloperRyou committed Oct 16, 2024
1 parent 182810a commit 0c37516
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/hooks/apis/usePaymentHistory.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { useMutation, useQuery, useQueryClient } from '@tanstack/react-query'
import { getPaymentHistory, patchPaymentHistory } from 'apis/paymentHistory'
import orderSound from 'assets/sound/newOrder.mp3'
import { AxiosError } from 'axios'
import { ROUTE } from 'constants/path'
import { useModal } from 'hooks/useModal'
Expand All @@ -16,7 +15,7 @@ interface PatchParameterType {
}

function useGetPaymentHistoryOnGoing() {
const [playSound] = useSound(orderSound)
const [playSound] = useSound('https://s3-eolluga-public.s3.ap-northeast-2.amazonaws.com/eollugage-pc/newOrder.mp3')
const [storeId] = useAtom(storeIdAtom)
const [, setOnGoingOrder] = useAtom(onGoingOrderAtom)

Expand Down

0 comments on commit 0c37516

Please sign in to comment.