mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 21:16:17 +02:00
rename player context hook
This commit is contained in:
@@ -466,7 +466,7 @@ export const PlayerProvider = ({ children }: { children: React.ReactNode }) => {
|
||||
return <PlayerContext.Provider value={contextValue}>{children}</PlayerContext.Provider>;
|
||||
};
|
||||
|
||||
export const usePlayerContext = () => {
|
||||
export const usePlayer = () => {
|
||||
return useContext(PlayerContext);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user