-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Fix Product Not Found infinite spinner #1725
Conversation
<TranslationProvider> | ||
<div className="container-fluid-sm"> | ||
<div className="empty-view-message"> | ||
<i className="fa fa-barcode"></i> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
must self close if empty <i className="fa fa-barcode" />
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works well, just one little thing with import order
import { SocialContainer, VariantListContainer } from "./"; | ||
import { MediaGalleryContainer } from "/imports/plugins/core/ui/client/containers"; | ||
import { DragDropProvider, TranslationProvider } from "/imports/plugins/core/ui/client/providers"; | ||
import { StyleRoot } from "radium"; | ||
import { isEmpty } from "lodash"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this import go first?
Fixes #1630
PDP was displaying an infinite spinner if there was no product at the URL. This fix converts our old Product Not Found page to a React Component and displays when it should.