Skip to content
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

fix: mission history #29

Merged
merged 1 commit into from
Mar 21, 2023
Merged

fix: mission history #29

merged 1 commit into from
Mar 21, 2023

Conversation

subfuzion
Copy link
Member

@subfuzion subfuzion commented Mar 21, 2023

Fix for production / docker build lint error:

$ npm run build
. . .
#15 4.643 ./src/pages/mission-history.tsx:18:12
#15 4.643 Type error: 'MissionHistory' cannot be used as a JSX component.
#15 4.643   Its return type 'Element | undefined' is not a valid JSX element.
#15 4.643     Type 'undefined' is not assignable to type 'Element | null'.
#15 4.643 
#15 4.643   16 |         <Header />
#15 4.643   17 |         {status === "authenticated" && (
#15 4.643 > 18 |           <MissionHistory />
#15 4.643      |            ^
#15 4.643   19 |         )}
#15 4.643   20 |       </main>
#15 4.643   21 |     </>

@subfuzion subfuzion requested a review from LukeSchlangen March 21, 2023 08:16
@LukeSchlangen LukeSchlangen merged commit ea35f39 into main Mar 21, 2023
@LukeSchlangen LukeSchlangen deleted the fix/mission-history branch March 21, 2023 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants