Panels redesign.
This commit is contained in:
8
src/components/hooks/useWebsite.ts
Normal file
8
src/components/hooks/useWebsite.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { WebsiteContext } from '@/app/(main)/websites/[websiteId]/WebsiteProvider';
|
||||
import { useContext } from 'react';
|
||||
|
||||
export function useWebsite() {
|
||||
const website = useContext(WebsiteContext);
|
||||
|
||||
return website;
|
||||
}
|
||||
Reference in New Issue
Block a user