Skip to content

Commit

Permalink
Fix #31 by downgrading to Node 10
Browse files Browse the repository at this point in the history
Also add nicer frontend handling for when the server returns no photo data.
  • Loading branch information
ryanoshea committed May 17, 2020
1 parent b274658 commit 188ba99
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cwd": "${workspaceRoot}/backend",
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeVersion": "12.16.2",
"runtimeVersion": "10.20.1",
"runtimeArgs": [
"--nolazy"
],
Expand Down
2 changes: 1 addition & 1 deletion backend/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.20.1
10
2 changes: 1 addition & 1 deletion backend/package-lock.json

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

2 changes: 1 addition & 1 deletion frontend/src/Components/Home/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ const Home = () => {
take photos{' '}
{loadingPhotos && attemptedEarlyFoldoutOpen ? (
<i className='foldout-loading-indicators fas fa-sync fa-spin' aria-hidden='true'></i>
) : (
) : ((loadingPhotos || photoData.length > 0) &&
<i
className={classNames('fas', {
'fa-angle-down': !photosOpen,
Expand Down

0 comments on commit 188ba99

Please sign in to comment.