Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
codenamejason committed May 2, 2024
1 parent 4a11817 commit 61015af
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { ProjectBanner } from "./ProjectBanner";
import { createIpfsImageUrl } from "common/src/ipfs";
import { getConfig } from "common/src/config";
import { usePostHog } from "posthog-js/react";
import { useEffect } from "react";

export function ProjectLogo(props: {
className?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { LoadingRing } from "../common/Spinner";
import { ProjectCard, ProjectCardSkeleton } from "../common/ProjectCard";
import { ApplicationSummary } from "data-layer";
import { usePostHog } from "posthog-js/react";
import { useEffect } from "react";

interface PaginatedProjectsListProps {
applications: ApplicationSummary[];
Expand Down
7 changes: 0 additions & 7 deletions packages/grant-explorer/src/posthog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ export const initPosthog = () => {
session_recording: {
maskTextSelector: '[data-testid="rk-account-button"]',
},
// note: https://posthog.com/docs/product-analytics/autocapture
// autocapture: {
// dom_event_allowlist: ["click"], // DOM events from this list ['click', 'change', 'submit']
// url_allowlist: ["posthog.com./docs/.*"], // strings or RegExps
// element_allowlist: ["button"], // DOM elements from this list ['a', 'button', 'form', 'input', 'select', 'textarea', 'label']
// css_selector_allowlist: ["[ph-autocapture]"], // List of CSS selectors
// },
});

console.log("Posthog initialized");
Expand Down

0 comments on commit 61015af

Please sign in to comment.