Closed lydiadunning closed 1 year ago
Visit the preview URL for this PR (updated for commit b0fae95):
https://tcl-65-smart-shopping-list--pr51-ld-fix-root-not-in-d-xghd2yrh.web.app
(expires Tue, 31 Oct 2023 04:31:03 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: a91b8fb0f37677e20d8afa3e8ea496251536f9b8
Description
This changes the method for importing Google fonts from an import statement in index.css to a series of link tags in the head of index.html. It seems to resolve the issue with the react app not loading into the page. This intermittent issue is most likely to occur when loading our app for the first time, which can be replicated with a hard refresh.
I made this change after reviewing previous commits to find where this issue was introduced.
Type of Changes
Updates
Before
After a hard refresh (press ctrl or command and refresh the browser) or loading with no cache, 50% chance of loading only the background.
After
Entire site loads after each of 10 attempts.
Testing Steps / QA Criteria
Note: To test this issue locally, create a build and preview the build.