Anthony Bouch

Results 24 comments of Anthony Bouch
trafficstars

I just tested the demo project, and while there's a high probability I've messed something up - when testing the override feature I was getting a duplicate breadcrumbs field. I...

Ah okay I've just ready the migration docs here... https://github.com/portabletext/react-portabletext/blob/main/MIGRATING.md and so... ```js const { node, children } = props const { style, _key } = node ``` becomes... ```js...

In case anyone else finds this helpful - here's how I did this in the end.... creating a url-safe kebab-case ID for the heading element and anchor ref using `slugify`...

I've just seen this... https://github.com/facebook/lexical/pull/5614 - although it refers to the same issue, I'm not clear on whether that commit was meant to resolve it or was reverted.

If you are hosting on Vercel - you'll need to setup the script and rewrites manually using vercel.json For example `vercel.json` ```json { "rewrites": [ { "source": "/modules/js/script.js", "destination": "https://plausible.io/js/script.js"...

Note that this PR doesn't resolve https://github.com/yusefnapora/minty/issues/11 - which as described, could be updated as follows: ``` string private _baseTokenURI; // Constructor constructor(string memory name, string memory symbol, string memory...

Okay well this was educational. In my first attempt above I tried to a) allow the provider to be placed inside the body and not wrap the entire document, as...

Okay so just in case anyone stumbles across this - the issue of where to place `ThemeProvider` (or any provider, and whether it's a good idea for them to wrap...

So in the end we opted for a simpler solution - only detecting 'prefers-color-scheme' via [User Preference Media Features Client Hints Headers](https://wicg.github.io/user-preference-media-features-headers/#sec-ch-prefers-color-scheme) which is currently supported by both Chrome and...

@climba03003 - yes I think you're right. I've also updated the above to include our augmented `FastifyInstance `. Would the exported function types look like this? (courtesy ChatGPT). If so...