-
Notifications
You must be signed in to change notification settings - Fork 201
fix(icon): fix for icons not loading #3454
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
Conversation
|
🚀 Deployed on https://pr-3454--spectrum-css.netlify.app |
Icons were not loading on the spectrum-two branch. The fetchIconSVG function is not working (this function no longer exists in main). This is a light touch update so icons appear, until spectrum-two is back up to date with main.
d371d1b
to
35f9d74
Compare
File metricsSummaryTotal size: 2.74 MB* 🎉 No changes detected in any packages * Size determined by adding together the size of the main file for all packages in the library.* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
Icons were not loading on the spectrum-two branch. The fetchIconSVG function is not working (this function no longer exists in main). This is a light touch update so icons appear, until spectrum-two is back up to date with main.
Icons were not loading on the spectrum-two branch. The fetchIconSVG function is not working (this function no longer exists in main). This is a light touch update so icons appear, until spectrum-two is back up to date with main.
Icons were not loading on the spectrum-two branch. The fetchIconSVG function is not working (this function no longer exists in main). This is a light touch update so icons appear, until spectrum-two is back up to date with main.
Description
Icons were not loading on the
spectrum-two
branch. Therequire
statements in thefetchIconSVG
function are not working, but that function no longer exists inmain
. This is a light touch update so icons appear for the current work, untilspectrum-two
is back up to date with main.This updates the default
useRef
to true in the Icon component, so icons use the spritesheet version.useRef
is not set to anything other than the default in the repo.How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
To-do list