Skip to content

Commit

Permalink
Merge branch 'main' into feature/4245_playground_recovery
Browse files Browse the repository at this point in the history
  • Loading branch information
mnholtz authored Sep 8, 2022
2 parents 271a258 + 63f3851 commit f35c539
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/options/pages/blueprints/BlueprintsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

import React, { useMemo } from "react";
import React, { useMemo, useEffect } from "react";
import BlueprintsCard from "@/options/pages/blueprints/BlueprintsCard";
import useInstallables from "@/options/pages/blueprints/useInstallables";
import ExtensionLogsModal from "@/options/pages/blueprints/modals/ExtensionLogsModal";
Expand All @@ -33,6 +33,7 @@ import { useTitle } from "@/hooks/title";
import { ErrorDisplay } from "@/layout/ErrorDisplay";
import ConvertToRecipeModal from "./modals/ConvertToRecipeModal";
import ShareRecipeModal from "./modals/ShareRecipeModal/ShareRecipeModal";
import { reportEvent } from "@/telemetry/events";

const BlueprintsPage: React.FunctionComponent = () => {
useTitle("Blueprints");
Expand All @@ -44,6 +45,10 @@ const BlueprintsPage: React.FunctionComponent = () => {
selectShowShareContext
);

useEffect(() => {
reportEvent("BlueprintsPageView");
}, []);

const body = useMemo(() => {
if (error) {
return <ErrorDisplay error={error} />;
Expand Down

0 comments on commit f35c539

Please sign in to comment.