FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
uniswap_interface_sc/apps/web/src/hooks/useIsSendPage.ts at main · stringcode86/uniswap_interface_sc · GitHub
stringcode86
uniswap_interface_sc
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
uniswap_interface_sc
/
apps
/
web
/
src
/
hooks
/
useIsSendPage.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
5 lines (5 loc) · 156 Bytes
Breadcrumbs
uniswap_interface_sc
/
apps
/
web
/
src
/
hooks
/
useIsSendPage.ts
Copy path
File metadata and controls
5 lines (5 loc) · 156 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
import
{
useLocation
}
from
'react-router-dom'
export
function
useIsSendPage
(
)
{
const
{
pathname
}
=
useLocation
(
)
return
pathname
.
endsWith
(
'/send'
)
}
Back
|
FazBrowse Home
|
New Git URL