Skip to content

Commit

Permalink
fix: network explorer env reference, remove export
Browse files Browse the repository at this point in the history
  • Loading branch information
donnyquixotic committed Feb 22, 2024
1 parent ae18d0d commit 581fc8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/TransactionTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const route = useRoute();
const router = useRouter();
const { t: $t } = useI18n();
export interface Props {
interface Props {
title: string;
filter?: object
initialPageSize?: number,
Expand Down
5 changes: 3 additions & 2 deletions src/pages/BlockPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ function nextBlock() {
router.push({ name: 'block', params: { block: parseInt(block.value) + 1 } });
}
function visitNativeBlockExplorer(extraData) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
function visitNativeBlockExplorer(extraData: any) {
console.log('visitNativeBlockExplorer()', extraData);
window.open(`https://explorer-test.telos.net/block/${extraData}`, '_blank');
window.open(`${process.env.NETWORK_EXPLORER}/block/${extraData}`, '_blank');
}
const loadBlockData = async () => {
Expand Down

0 comments on commit 581fc8b

Please sign in to comment.