Skip to content

Commit

Permalink
Explorer: remove unused use of query string in Karma tab (#2650)
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityblast authored Nov 20, 2023
1 parent cddaa5a commit 9c24247
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/grant-explorer/src/features/round/ViewProjectDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,6 @@ export default function ViewProjectDetails() {
[grants, projectToRender]
);

useEffect(() => {
const tab = window.location.search.split("=")[1];
console.debug("tab", tab);
if (tab) {
setSelectedTab(
projectDetailsTabs.findIndex(
(t) => t.name.toLowerCase() === tab.toLowerCase()
)
);
}
}, [projectDetailsTabs]);

const handleTabChange = (tabIndex: number) => {
setSelectedTab(tabIndex);
};
Expand Down

5 comments on commit 9c24247

@vercel
Copy link

@vercel vercel bot commented on 9c24247 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

manager – ./packages/round-manager

manager-git-main-grants-stack.vercel.app
grants-stack-round-manager.vercel.app
manager.gitcoin.co
manager-grants-stack.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 9c24247 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

manager-staging – ./packages/round-manager

grants-stack-manager-staging.vercel.app
manager-staging-git-main-grants-stack.vercel.app
manager-staging-grants-stack.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 9c24247 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder – ./packages/builder

builder-git-main-grants-stack.vercel.app
builder.gitcoin.co
builder-kappa-one.vercel.app
builder-grants-stack.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 9c24247 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-staging – ./packages/builder

builder-staging-grants-stack.vercel.app
grants-stack-builder-staging.vercel.app
builder-staging-git-main-grants-stack.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 9c24247 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

explorer-staging – ./packages/grant-explorer

explorer-staging-git-main-grants-stack.vercel.app
grants-stack-explorer-staging.vercel.app
explorer-staging-grants-stack.vercel.app

Please sign in to comment.