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

Question about UI rendering when refresh the page. #2

Open
zhinigami opened this issue Jul 7, 2023 · 0 comments
Open

Question about UI rendering when refresh the page. #2

zhinigami opened this issue Jul 7, 2023 · 0 comments

Comments

@zhinigami
Copy link

Hello, I am trying to have single image in a Component in a page (with typescript). If use "<Box component="img" src="/images/sample.png" everything is fine when refresh the page in browser.
If I use the Image from next/image then the image will be missing awhile and come back after complete page refresh.
import Image from 'next/image'; <Image alt="Logo" src="/images/sample.png" />
Same case happens to the MUI components with className of bootstrap class. The styling gone and come back during the page refresh. Can I have your advice with this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant