Skip to content

Commit

Permalink
Fix wrong link to the application issue (#107)
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Lelek <[email protected]>
  • Loading branch information
Filip-L and filip-neti authored Jun 24, 2024
1 parent f818401 commit 82f3d80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions src/components/cards/AppInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import AccountSelectionDialog from '@/components/ui/ledger-account-select'
import { Modal } from '@/components/ui/modal'
import ProgressBar from '@/components/ui/progress-bar'
import { Spinner } from '@/components/ui/spinner'
import { config } from '@/config'
import calculateAmountToRequest from '@/helpers/calculateAmountToRefill'
import useApplicationActions from '@/hooks/useApplicationActions'
import { useAllocator } from '@/lib/AllocatorProvider'
Expand Down Expand Up @@ -697,7 +696,7 @@ const AppInfoCard: React.FC<ComponentProps> = ({
<div className="flex items-center flex-col mb-6">
<h2 className="text-3xl font-bold">Application Detail</h2>
<a
href={`${config.githubRepoUrl}/issues/${application['Issue Number']}`}
href={`https://github.com/${owner}/${repo}/issues/${application['Issue Number']}`}
target="_blank"
rel="noopener noreferrer"
>
Expand Down
4 changes: 0 additions & 4 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ const localConfig = {
numberOfWalletAccounts: 5,
mnemonic: process.env.NEXT_PUBLIC_MNEMONIC,
walletClass: 'LedgerWallet',
githubRepoUrl:
'https://github.com/filecoin-project/filplus-tooling-backend-test',
dmobApiUrl: 'https://api.filplus.d.interplanetary.one/public/api',
dmobApiKey: process.env.NEXT_PUBLIC_DMOB_API_KEY ?? '',
}
Expand All @@ -44,8 +42,6 @@ const prodConfig = {
numberOfWalletAccounts: 5,
mnemonic: process.env.MNEMONIC,
walletClass: 'LedgerWallet',
githubRepoUrl:
'https://github.com/filecoin-project/filecoin-plus-large-datasets',
dmobApiUrl: 'https://api.filplus.d.interplanetary.one/public/api',
dmobApiKey: process.env.NEXT_PUBLIC_DMOB_API_KEY ?? '',
}
Expand Down

0 comments on commit 82f3d80

Please sign in to comment.