Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotBraem committed Jul 23, 2024
1 parent 798dd11 commit 5651cce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions playwright-tests/tests/project.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,12 @@ test.describe("?page=project&id=", () => {
const arizButton = await page.getByTestId("ariz-portfolio");
expect(arizButton).toBeInTheDocument();
});

test("should navigate to Ariz portfolio when clicked", async ({ page }) => {
const arizButton = await page.getByTestId("ariz-portfolio");
await arizButton.click();
await expect(page).toHaveURL(/https:\/\/arizportfolio\.near\.page\//);
});

});
});

Expand Down
3 changes: 1 addition & 2 deletions widget/page/project/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const { Button } = VM.require("${config_account}/widget/components.Index") || {
Button: () => <></>,
};


const Layout = ({
projectAccountId,
projectId,
Expand All @@ -28,7 +27,7 @@ const Layout = ({
return <p className="fw-bold text-white">No Account ID</p>;
}
const isOwner = accountId === projectAccountId;

return (
<>
<div className="my-3 w-100">
Expand Down

0 comments on commit 5651cce

Please sign in to comment.