Skip to content

Commit

Permalink
docs(examples-react-suspense): add font-awesone dependency to display…
Browse files Browse the repository at this point in the history
… Spinner correctly (TanStack#6345)

Spinner is not visible in the Suspense example due to missing font-awesome dependency.
  • Loading branch information
krisko4 authored Nov 10, 2023
1 parent 0eccfbf commit 4d2d485
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/react/suspense/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@tanstack/react-query": "^5.0.0",
"@tanstack/react-query-devtools": "^5.0.0",
"axios": "^1.5.1",
"font-awesome": "^4.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^3.1.4"
Expand Down
1 change: 1 addition & 0 deletions examples/react/suspense/src/index.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'font-awesome/css/font-awesome.min.css'
import React, { lazy } from 'react'
import ReactDOM from 'react-dom/client'
import {
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4d2d485

Please sign in to comment.