mirror of
https://github.com/hanzo-io/team.git
synced 2026-10-30 18:56:23 +00:00
9 lines
225 B
JavaScript
9 lines
225 B
JavaScript
import { createContext, useContext } from "react";
|
|
|
|
const useCurrentChannel = () => {
|
|
return useContext(CurrentChannelContext);
|
|
}
|
|
|
|
export default useCurrentChannel;
|
|
|
|
export const CurrentChannelContext = createContext(''); |