Derek Braid

Results comments of Derek Braid

To remove the error, you can use nextjs `dynamic` import, per https://github.com/vercel/next.js/issues/12863#issuecomment-628660240 Copied from link above: ```js import dynamic from 'next/dynamic' // components/MyChart.js contains the recharts chart const MyChart =...

This issue persists. Our hack to workaround: https://github.com/Shopify/web/blob/3b3ffed883e7dee5a955bbc5b5ee61883f085237/app/shared/components/BankingTransferForm/BankingTransferForm.module.css#L12-L17

Per @ferezoz above (copied below), `Link` component needs `href` and `as` props. Gotcha for me was that `href` value must match file system. For example: `/store/[id].js` you must use `href="/store/[id]"`,...

@ndom91 https://next-auth.js.org/tutorials/typeorm-custom-models shows config with database. Is it possible to extend the `user` model with Adapters and no DB? I tried passing `null` for DB url, but this failed. IOW,...

@ndom91 related: https://github.com/nextauthjs/next-auth/issues/562#issuecomment-716740547 I'd prefer to use the `authorize` function to extend `user` since I have already made an API call here and have the relevant data accessible. Would love...

My current (hopefully very short term) work around involves hijacking the `image` property on `session.user` and assigning it the value for `role` which is returned by Auth API. ``` import...

@iedmrc do you mind sharing your outcome here? Similarly trying to make Credentials work and having trouble, thanks!

@ndom91 I'm looking for any / all examples to gain a better understanding. I have an existing auth service (custom provider) that requires integration. At this point the biggest blocker...

@ghoshnirmalya @iaincollins Best I can tell `VERCEL_URL` is dynamic, and thus cannot be leveraged with most OAuth providers (like Google, in my case). What am I missing here? When I...

For future searches that lead here (I am using `react-map-gl` so be aware. To make scrolling better on mobile, set `dragPan` and `touchAction` like so: ```js