-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Applies next/dynamic for RegionModal (#2523)
## What's the purpose of this pull request? Loads `RegionModal` using dynamic import. ## How it works? We are aiming to optimize the performance loading components only when they are needed, rather than at the initial page load. ## How to test it? - Click on `Set your location` button, the `RegionModal` should appear as expected. <img width="300" alt="image" src="https://github.com/user-attachments/assets/a7644c15-66c1-4c14-be83-06e2b4341166">
- Loading branch information
1 parent
b2aecbd
commit 992cab3
Showing
1 changed file
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters