Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GÉANT Service Orchestrator GUI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
GÉANT Service Orchestrator GUI
Merge requests
!30
Refactor data fetching and state management in MapsPage
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Refactor data fetching and state management in MapsPage
feature/NAT-574-add-axios-timeout
into
develop
Overview
0
Commits
2
Pipelines
2
Changes
4
Merged
Mohammad Torkashvand
requested to merge
feature/NAT-574-add-axios-timeout
into
develop
9 months ago
Overview
0
Commits
2
Pipelines
2
Changes
1
Expand
Move data fetching logic from NetworkMap to MapsPage
Handle loading and error states in MapsPage
Remove loading and error handling from NetworkMap
Ensure separation of concerns between data fetching and presentation
0
0
Merge request reports
Compare
version 1
version 1
f61081b2
9 months ago
develop (base)
and
latest version
latest version
914a3897
2 commits,
9 months ago
version 1
f61081b2
2 commits,
9 months ago
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
pages/maps/index.tsx
+
1
−
1
Options
@@ -17,7 +17,7 @@ const MapsPage: React.FC = () => {
const
[
error
,
setError
]
=
useState
<
boolean
>
(
false
);
const
TIMEOUT
=
5000
;
const
config
=
useGsoConfig
();
const
{
session
}
=
useWfoSession
();
// Use the hook here
const
{
session
}
=
useWfoSession
();
useEffect
(()
=>
{
const
fetchData
=
async
()
=>
{
Loading