mirror of
https://github.com/elementor/hello-theme.git
synced 2026-03-03 12:56:14 +08:00
6 lines
175 B
JavaScript
6 lines
175 B
JavaScript
import { useContext } from 'react';
|
|
import { AdminContext } from '../providers/admin-provider';
|
|
|
|
export const useAdminContext = () => {
|
|
return useContext( AdminContext );
|
|
};
|