Skip to content

Sethgw/fairshare#29

Closed
sethgw wants to merge 13 commits intomainfrom
sethgw/fairshare
Closed

Sethgw/fairshare#29
sethgw wants to merge 13 commits intomainfrom
sethgw/fairshare

Conversation

@sethgw
Copy link
Copy Markdown
Member

@sethgw sethgw commented Feb 25, 2025

No description provided.

package.json Outdated
"format:check": "prettier --check ."
},
"dependencies": {
"@fluid-commerce/fairshare": "1.0.12",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version 1.0.13 breaks because of react-device-detect

import { ReactNode } from "react";

// Create a dynamic component that only loads on the client side
const DynamicFairshareInitializer = dynamic(
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is strange but the only way I could get it to work by circumventing all of the server stuff with a dynamic import

@sethgw sethgw closed this Aug 14, 2025
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.

2 participants