Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.

fix(event): remove extraneous }) to allow build success - #452

Merged
allella merged 2 commits into
freeCodeCamp:masterfrom
NorthDecoder:master
Mar 15, 2021
Merged

allella merged 2 commits into
freeCodeCamp:masterfrom
NorthDecoder:master

Conversation

@NorthDecoder

Copy link
Copy Markdown
Contributor
  • I have read Chapter's contributing guidelines.
  • My pull request has a descriptive title (not a vague title like Update README.md).
  • My pull request targets the master branch of Chapter.

Closes #450

Build failed due to:

npm run lint
# ...
# ~/chapter/client/src/modules/dashboard/Events/components/EventItem.tsx
#  66:9  error  Parsing error: Unexpected token. Did you mean `{'}'}` or `}`?

Removed the }) from line 66 and now the build succeeds.

@gitpod-io

gitpod-io Bot commented Mar 15, 2021

Copy link
Copy Markdown

@allella

allella commented Mar 15, 2021 •

Copy link
Copy Markdown
Contributor

Thanks @NorthDecoder.

Did you check if @tomnolands other reported issues on chat need fixing too?

Besides line 66 of EventItem.tsx, he mentioned

  • Remove line 50 EventsPage.tsx: className={styles.gridItem}
  • Remove line 49 VenuesPage.tsx: className={styles.gridItem}

@NorthDecoder

Copy link
Copy Markdown
Contributor Author

The issue #450 was intended to allow docker build success, which this pull request has done. The other two items mentioned do not cause a build failure. They possibly may cause something to not appear in the user interface as expected. I do not know what the expected appearance is, so I would not know if the proposed changes fixed the 'problem'. I would be glad to open a new issue and inspect them separately.

@allella
allella merged commit a0f6518 into freeCodeCamp:master Mar 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extraneous ' }) ' in file EventItem.tsx breaks docker build

2 participants