Agents/fix react invalid dom properties f63b50d8 - #2
Open
CarlXT wants to merge 8 commits into
Open
Conversation
…rver Use index fallback keys for hero slide map to eliminate React list key warnings and use absolute /src asset paths so local dev server can load logo SVGs.
…ic server Use index-based stable keys for hero slides to guarantee uniqueness and change layout logo URLs to absolute /src paths so local static server can find SVG assets.
Add small re-export wrapper modules so requests to /src/layouts/... resolve when using a simple static server. Also copy logo SVGs into src/layouts/assets/logos to fix 404s during local static serving. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ompatibility Update wrapper re-exports so modules that expect default imports receive the named exported layout functions as default. This fixes runtime import errors when serving modules directly from a static server. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose named export CustomerCheckoutLayout as well as default from the wrapper so modules importing the named export (or default) work when served statically. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose named export AdminLayout as well as default from the admin wrapper to fix static import compatibility when modules import the named export. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Expose named export CustomerLayout as well as default from the customer wrapper to fix static import compatibility when modules import the named export. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.