Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
feat: remove getLang
Browse files Browse the repository at this point in the history
  • Loading branch information
yashim-deriv committed Jun 21, 2024
1 parent 334ef53 commit b314e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/gatsby-theme-deriv/src/components/hooks/useWS.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useCallback, useState } from 'react'
import { TSocketEndpointNames, TSocketResponseData } from 'common/websocket/types'
import apiManager, { ApiManager } from 'common/websocket'
import { getLanguage, isBrowser } from 'common/utility'
import { isBrowser } from 'common/utility'

const useWS = <T extends TSocketEndpointNames>(name: T) => {
const [is_loading, setIsLoading] = useState(false)
Expand Down

0 comments on commit b314e46

Please sign in to comment.