repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git]
/
packages
/
pass
/
components
/
Navigation
/
ItemRouteContext.tsx
blob
d14c31f36052e8bdb491e9d58a52d704515e1f67
1
import { createContext, useContext } from 'react';
2
3
export const ItemRouteContext = createContext<{ prefix?: string }>({});
4
export const useItemRoute = () => useContext(ItemRouteContext);