Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extra attributes from the server class,role #2750

Open
timja opened this issue Nov 8, 2024 · 1 comment
Open

Extra attributes from the server class,role #2750

timja opened this issue Nov 8, 2024 · 1 comment
Labels
type: bug 🐛 Something isn't working

Comments

@timja
Copy link
Contributor

timja commented Nov 8, 2024

Summary of the bug

This may be something to do with next.js and not belong here but its a pretty annoying error that spams the developer console.
image

🪜 How to reproduce

Tell us the steps to reproduce the problem:

  1. See code below
  2. Refresh the page a few times and look at dev console

📸 Screenshots or code

image

Simplest code that fairly reliably reproduces it, if you remove the SVG it triggers less often but it still triggers

export default function PageInner() {
    return (
        <>
            <IcTopNavigation appTitle={"ICDS"} version="v0.0.7">
                <SlottedSVG
                    slot="app-icon"
                    xmlns="http://www.w3.org/2000/svg"
                    height="24"
                    viewBox="0 0 24 24"
                    width="24"
                    fill="#000000"
                >
                    <path d="M0 0h24v24H0V0z" fill="none" />
                    <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-5.5-2.5l7.51-3.49L17.5 6.5 9.99 9.99 6.5 17.5zm5.5-6.6c.61 0 1.1.49 1.1 1.1s-.49 1.1-1.1 1.1-1.1-.49-1.1-1.1.49-1.1 1.1-1.1z" />
                </SlottedSVG>
                <IcNavigationItem slot="navigation">
                    <Link href={"/"} slot={"navigation-item"}>Get started</Link>
                    <Link href={"/"} slot={"navigation-item"}>Get started2</Link>
                </IcNavigationItem>

            </IcTopNavigation>
        </>
    )
}

🖥 📱 Device

  • Type: Desktop
  • Device: [Macbook
  • OS version: macOS Sonoma
  • Browser version: Chrome 130

🧐 Expected behaviour

No console error

📝 Acceptance Criteria

If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.

Given
When
Then

Additional info

Tell us anything else useful to help us fix or understand the problem.

@evenstensberg
Copy link
Contributor

@timja unrelated, but can you test #2617 ?

@MI6-255 MI6-255 added this to the Future Release milestone Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
Status: In Refinement
Development

No branches or pull requests

3 participants