mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Panels redesign.
This commit is contained in:
parent
7886c3f393
commit
f5bc3dc6c2
58 changed files with 530 additions and 733 deletions
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue