9 lines
194 B
JavaScript
9 lines
194 B
JavaScript
// react/useLicense.js
|
|
|
|
import { useContext } from 'react';
|
|
import { LicenseContext } from './LicenseProvider';
|
|
|
|
const useLicense = () => useContext(LicenseContext);
|
|
|
|
export default useLicense;
|