Skip to content

Commit

Permalink
changed the folder strcuture for transaction page
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitmalhotra1420 committed Dec 9, 2024
1 parent f86da03 commit 5471ce6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 20 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,16 @@ jobs:
static_site_generator: next

# Step 5: Restore build cache
# - name: Restore cache
# uses: actions/cache@v3
# with:
# path: |
# .next/cache
# # Generate a new cache whenever packages or source files change.
# key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# # If source files changed but packages didn't, rebuild from a prior cache.
# restore-keys: |
# ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
- name: Restore cache
uses: actions/cache@v3
with:
path: |
.next/cache
# Generate a new cache whenever packages or source files change.
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
# If source files changed but packages didn't, rebuild from a prior cache.
restore-keys: |
${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
# Step 6: Conditionally set NEXT_PUBLIC_BASE_PATH based on the repository
- name: Set base path for GitHub Pages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,16 @@ import dynamic from 'next/dynamic';
import Head from 'next/head';

// Internal Components imports
// import { Spinner } from '../../blocks';
import Layout from '../../layout';
import TransactionDetailsView from '../../sections/Transactions/txHash';
import { Spinner } from '../../blocks';

// const Layout = dynamic(() => import('../../layout'));
const Layout = dynamic(() => import('../../../layout'));

// const TransactionDetailsView = dynamic(
// () => import('../../sections/Transactions/txHash'),
// {
// loading: () => <Spinner size="extraLarge" />,
// }
// );
const TransactionDetailsView = dynamic(
() => import('../../../sections/Transactions/txHash'),
{
loading: () => <Spinner size="extraLarge" />,
}
);

const TransactionDetailsPage = () => {
return (
Expand Down

0 comments on commit 5471ce6

Please sign in to comment.