Publisher
As a publisher you can{" "}
- register a snap name on the Snap store and{" "}
+ register a snap name on the Snap store and{" "}
manage your snaps on the dashboard
diff --git a/static/js/publisher/pages/Publisher/__tests__/Publisher.test.tsx b/static/js/publisher/pages/Publisher/__tests__/Publisher.test.tsx
index 65d2f8755d..574301992e 100644
--- a/static/js/publisher/pages/Publisher/__tests__/Publisher.test.tsx
+++ b/static/js/publisher/pages/Publisher/__tests__/Publisher.test.tsx
@@ -2,9 +2,14 @@ import { render, screen } from "@testing-library/react";
import "@testing-library/jest-dom";
import Publisher from "../Publisher";
+import { BrowserRouter } from "react-router-dom";
const renderComponent = () => {
- render();
+ render(
+
+
+ ,
+ );
};
describe("Publisher", () => {
diff --git a/static/js/publisher/pages/ReviewerAndPublisher/ReviewerAndPublisher.tsx b/static/js/publisher/pages/ReviewerAndPublisher/ReviewerAndPublisher.tsx
index 931960fdfe..ec0ffaecc6 100644
--- a/static/js/publisher/pages/ReviewerAndPublisher/ReviewerAndPublisher.tsx
+++ b/static/js/publisher/pages/ReviewerAndPublisher/ReviewerAndPublisher.tsx
@@ -1,4 +1,4 @@
-import { useParams } from "react-router-dom";
+import { Link, useParams } from "react-router-dom";
import type { RouteParams } from "../../types/shared";
@@ -10,7 +10,7 @@ function ReviewerAndPublisher(): React.JSX.Element {
Reviewer and publisher
As a publisher you can{" "}
- register a snap name on the Snap store and{" "}
+ register a snap name on the Snap store and{" "}
manage your snaps on the dashboard