-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Add loading skeletons for Shopify gate not connected and address pages
♻️ Refactor Shopify gate sections to remove Suspense and fallbacks 🐛 Remove unused imports and clean up code across Shopify features and i18n libs 💡 Improve code readability and performance by simplifying component structures
- Loading branch information
1 parent
9aa543c
commit cc9f6af
Showing
6 changed files
with
16 additions
and
27 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
apps/unlock/app/[locale]/shopify/[gateId]/(notConnected)/loading.tsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { OffKeyGateNotConnectedSkeleton } from '@features/unlock/shopify'; | ||
|
||
export default function Page() { | ||
return <OffKeyGateNotConnectedSkeleton />; | ||
} |
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
5 changes: 5 additions & 0 deletions
5
apps/unlock/app/[locale]/shopify/[gateId]/[address]/loading.tsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { OffKeyGateSkeleton } from '@features/unlock/shopify'; | ||
|
||
export default function Page() { | ||
return <OffKeyGateSkeleton />; | ||
} |
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
2 changes: 1 addition & 1 deletion
2
libs/features/unlock/shopify/src/lib/OffKeyGateNotConnected/OffKeyGateNotConnected.tsx
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
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