Skip to content

fix: šŸ› fix SSR compatibility issues with @portkey and @aelf-web-login…#1005

Merged
wills-tmrw merged 1 commit intotestfrom
fix/explore-500-error
Jan 4, 2026
Merged

fix: šŸ› fix SSR compatibility issues with @portkey and @aelf-web-login…#1005
wills-tmrw merged 1 commit intotestfrom
fix/explore-500-error

Conversation

@wills-tmrw
Copy link
Copy Markdown
Collaborator

@wills-tmrw wills-tmrw commented Jan 4, 2026

Changes

  • Use dynamic import for TelegramPlatform to avoid 'document is not defined' error during SSR
  • Use next/dynamic for WebLoginProvider with ssr: false to avoid 'self is not defined' error

Fixed Issues

  • Fix 500 Internal Server Error on /explore page caused by SSR incompatibility with @portkey/did-ui-react and @aelf-web-login/* libraries

… libraries

- Use dynamic import for TelegramPlatform to avoid 'document is not defined' error
- Use next/dynamic for WebLoginProvider with ssr: false to avoid 'self is not defined' error
@wills-tmrw wills-tmrw merged commit 1281974 into test Jan 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant