1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00
unleash.unleash/frontend/src/contexts/PlausibleContext.ts

7 lines
179 B
TypeScript
Raw Normal View History

import { createContext } from 'react';
import Plausible from 'plausible-tracker';
export const PlausibleContext = createContext<ReturnType<
typeof Plausible
> | null>(null);