Pixel/link metrics pages.
This commit is contained in:
1 parent
789b8b36d8
commit
8e766e2db7
42 files changed
+530
-49
No files matched your search
@@ -0,0 +1,6 @@
|
||||
import { LinkContext } from '@/app/(main)/links/LinkProvider';
|
||||
import { useContext } from 'react';
|
||||
|
||||
export function useLink() {
|
||||
return useContext(LinkContext);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { PixelContext } from '@/app/(main)/pixels/PixelProvider';
|
||||
import { useContext } from 'react';
|
||||
|
||||
export function usePixel() {
|
||||
return useContext(PixelContext);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { TeamContext } from '@/app/(main)/teams/TeamProvider';
|
||||
import { useContext } from 'react';
|
||||
|
||||
export function useTeam() {
|
||||
return useContext(TeamContext);
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import { WebsiteContext } from '@/app/(main)/websites/WebsiteProvider';
|
||||
import { useContext } from 'react';
|
||||
|
||||
export function useWebsite() {
|
||||
return useContext(WebsiteContext);
|
||||
}
|
||||
Reference in new issue
Block a user