Closed kishanhitk closed 5 months ago
I ran into the same issue, so I opened https://github.com/boringdesigners/boring-avatars/pull/78 as a potential solution.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Not stale
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
I have managed to make the import work without re-bundling this library. I added a check to use the default export
import Boring from "boring-avatars";
const RealBoring = typeof Boring.default !== "undefined" ? Boring.default : Boring
// Then use RealBoring as you would use Boring
Describe the bug The
Avatar
component is not working in latest Remix.run project. Getting this errorTo Reproduce Steps to reproduce the behavior:
Avatar
component.Expected behavior It should render the avatar
Screenshots
Desktop (please complete the following information):
Additional context I even tried making the component client side only, and skipping the render of it during SSR, still getting the issue.