Files
webstudio/packages/react-sdk
Roman Pominov 037d35162c Fix a bug when link to Home doesn't work on a published site (#1503)
## Description

Context:
https://discord.com/channels/955905230107738152/1098457250235957258

Fix of the bug: on a published site, when you point a link to Page=Home,
the rendered `href` contains path of the current page.

This is most likely due to `homePage.path === ""` and when we pass
`to=""` to RemixLink it behaves like this.

So I made sure we pass `to="/"` for the home page.
2023-04-20 16:36:38 +03:00
..
2022-12-17 21:50:59 +01:00
2022-07-18 22:11:02 +02:00
2023-03-31 18:31:20 +04:00
2022-07-18 22:11:02 +02:00
2022-12-16 13:09:33 +03:00

Webstudio SDK

Webstudio SDK is a TypeScript API that lets you use your Webstudio site or some components in your custom codebase or just render a complete Remix Document. It is currently under development, but feel free to play with the the current landing site