Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
037b21d7
Commit
037b21d7
authored
Oct 03, 2022
by
tom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor getStaticPaths
parent
d6f48481
Changes
25
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
21 additions
and
41 deletions
+21
-41
getStaticPaths.ts
lib/next/account/getStaticPaths.ts
+0
-5
getStaticPaths.ts
lib/next/apps/getStaticPaths.ts
+0
-5
getStaticPaths.ts
lib/next/block/getStaticPaths.ts
+0
-5
getStaticPaths.ts
lib/next/tx/getStaticPaths.ts
+0
-5
api_key.tsx
pages/[network_type]/[network_sub_type]/account/api_key.tsx
+1
-1
custom_abi.tsx
.../[network_type]/[network_sub_type]/account/custom_abi.tsx
+1
-1
public_tags_request.tsx
..._type]/[network_sub_type]/account/public_tags_request.tsx
+1
-1
tag_address.tsx
...[network_type]/[network_sub_type]/account/tag_address.tsx
+1
-1
tag_transaction.tsx
...work_type]/[network_sub_type]/account/tag_transaction.tsx
+1
-1
watchlist.tsx
...s/[network_type]/[network_sub_type]/account/watchlist.tsx
+1
-1
[id].tsx
pages/[network_type]/[network_sub_type]/apps/[id].tsx
+1
-1
profile.tsx
pages/[network_type]/[network_sub_type]/auth/profile.tsx
+1
-1
index.tsx
pages/[network_type]/[network_sub_type]/block/[id]/index.tsx
+1
-1
transactions.tsx
...work_type]/[network_sub_type]/block/[id]/transactions.tsx
+1
-1
blocks.tsx
pages/[network_type]/[network_sub_type]/blocks.tsx
+1
-1
index.tsx
pages/[network_type]/[network_sub_type]/index.tsx
+1
-1
pending-transactions.tsx
...network_type]/[network_sub_type]/pending-transactions.tsx
+1
-1
reorgs.tsx
pages/[network_type]/[network_sub_type]/reorgs.tsx
+1
-1
index.tsx
pages/[network_type]/[network_sub_type]/tx/[id]/index.tsx
+1
-1
internal-transactions.tsx
...ype]/[network_sub_type]/tx/[id]/internal-transactions.tsx
+1
-1
logs.tsx
pages/[network_type]/[network_sub_type]/tx/[id]/logs.tsx
+1
-1
raw-trace.tsx
...s/[network_type]/[network_sub_type]/tx/[id]/raw-trace.tsx
+1
-1
state.tsx
pages/[network_type]/[network_sub_type]/tx/[id]/state.tsx
+1
-1
txs.tsx
pages/[network_type]/[network_sub_type]/txs.tsx
+1
-1
uncles.tsx
pages/[network_type]/[network_sub_type]/uncles.tsx
+1
-1
No files found.
lib/next/account/getStaticPaths.ts
deleted
100644 → 0
View file @
d6f48481
import
type
{
GetStaticPaths
}
from
'
next
'
;
export
const
getStaticPaths
:
GetStaticPaths
=
async
()
=>
{
return
{
paths
:
[],
fallback
:
'
blocking
'
};
};
lib/next/apps/getStaticPaths.ts
deleted
100644 → 0
View file @
d6f48481
import
type
{
GetStaticPaths
}
from
'
next
'
;
export
const
getStaticPaths
:
GetStaticPaths
=
async
()
=>
{
return
{
paths
:
[],
fallback
:
'
blocking
'
};
};
lib/next/block/getStaticPaths.ts
deleted
100644 → 0
View file @
d6f48481
import
type
{
GetStaticPaths
}
from
'
next
'
;
export
const
getStaticPaths
:
GetStaticPaths
=
async
()
=>
{
return
{
paths
:
[],
fallback
:
'
blocking
'
};
};
lib/next/tx/getStaticPaths.ts
deleted
100644 → 0
View file @
d6f48481
import
type
{
GetStaticPaths
}
from
'
next
'
;
export
const
getStaticPaths
:
GetStaticPaths
=
async
()
=>
{
return
{
paths
:
[],
fallback
:
'
blocking
'
};
};
pages/[network_type]/[network_sub_type]/account/api_key.tsx
View file @
037b21d7
...
...
@@ -26,5 +26,5 @@ const ApiKeysPage: NextPage<Props> = () => {
export
default
ApiKeysPage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/account/custom_abi.tsx
View file @
037b21d7
...
...
@@ -26,5 +26,5 @@ const CustomAbiPage: NextPage<Props> = () => {
export
default
CustomAbiPage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/account/public_tags_request.tsx
View file @
037b21d7
...
...
@@ -26,5 +26,5 @@ const PublicTagsPage: NextPage<Props> = () => {
export
default
PublicTagsPage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/account/tag_address.tsx
View file @
037b21d7
...
...
@@ -26,5 +26,5 @@ const AddressTagsPage: NextPage<Props> = () => {
export
default
AddressTagsPage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/account/tag_transaction.tsx
View file @
037b21d7
...
...
@@ -26,5 +26,5 @@ const TransactionTagsPage: NextPage<Props> = () => {
export
default
TransactionTagsPage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/account/watchlist.tsx
View file @
037b21d7
...
...
@@ -28,5 +28,5 @@ const WatchListPage: NextPage<Props> = () => {
export
default
WatchListPage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/apps/[id].tsx
View file @
037b21d7
...
...
@@ -15,5 +15,5 @@ const AppPage: NextPage = () => {
export
default
AppPage
;
export
{
getStaticPaths
}
from
'
lib/next/
apps/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/auth/profile.tsx
View file @
037b21d7
...
...
@@ -15,5 +15,5 @@ const MyProfilePage: NextPage = () => {
export
default
MyProfilePage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/block/[id]/index.tsx
View file @
037b21d7
...
...
@@ -17,5 +17,5 @@ const BlockPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
BlockPage
;
export
{
getStaticPaths
}
from
'
lib/next/
block/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/block/[id]/transactions.tsx
View file @
037b21d7
...
...
@@ -17,5 +17,5 @@ const BlockPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
BlockPage
;
export
{
getStaticPaths
}
from
'
lib/next/
block/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/blocks.tsx
View file @
037b21d7
...
...
@@ -17,5 +17,5 @@ const BlockPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
BlockPage
;
export
{
getStaticPaths
}
from
'
lib/next/
block/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/index.tsx
View file @
037b21d7
...
...
@@ -15,5 +15,5 @@ const HomePage: NextPage = () => {
export
default
HomePage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/pending-transactions.tsx
View file @
037b21d7
...
...
@@ -26,5 +26,5 @@ const AddressTagsPage: NextPage<Props> = () => {
export
default
AddressTagsPage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/reorgs.tsx
View file @
037b21d7
...
...
@@ -17,5 +17,5 @@ const BlockPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
BlockPage
;
export
{
getStaticPaths
}
from
'
lib/next/
block/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/tx/[id]/index.tsx
View file @
037b21d7
...
...
@@ -17,5 +17,5 @@ const TransactionPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
TransactionPage
;
export
{
getStaticPaths
}
from
'
lib/next/
tx/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/tx/[id]/internal-transactions.tsx
View file @
037b21d7
...
...
@@ -15,5 +15,5 @@ const TransactionPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
TransactionPage
;
export
{
getStaticPaths
}
from
'
lib/next/
tx/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/tx/[id]/logs.tsx
View file @
037b21d7
...
...
@@ -15,5 +15,5 @@ const TransactionPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
TransactionPage
;
export
{
getStaticPaths
}
from
'
lib/next/
tx/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/tx/[id]/raw-trace.tsx
View file @
037b21d7
...
...
@@ -15,5 +15,5 @@ const TransactionPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
TransactionPage
;
export
{
getStaticPaths
}
from
'
lib/next/
tx/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/tx/[id]/state.tsx
View file @
037b21d7
...
...
@@ -15,5 +15,5 @@ const TransactionPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
TransactionPage
;
export
{
getStaticPaths
}
from
'
lib/next/
tx/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/txs.tsx
View file @
037b21d7
...
...
@@ -26,5 +26,5 @@ const AddressTagsPage: NextPage<Props> = () => {
export
default
AddressTagsPage
;
export
{
getStaticPaths
}
from
'
lib/next/
account/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
pages/[network_type]/[network_sub_type]/uncles.tsx
View file @
037b21d7
...
...
@@ -17,5 +17,5 @@ const BlockPage: NextPage<Props> = ({ pageParams }: Props) => {
export
default
BlockPage
;
export
{
getStaticPaths
}
from
'
lib/next/
block/
getStaticPaths
'
;
export
{
getStaticPaths
}
from
'
lib/next/getStaticPaths
'
;
export
{
getStaticProps
}
from
'
lib/next/getStaticProps
'
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment