Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
fix flow error
Browse files Browse the repository at this point in the history
  • Loading branch information
valpinkman committed Mar 16, 2022
1 parent 6c1fc6a commit 87e6230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/screens/exchange/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ const Exchange = () => {

const location = useLocation();
const [provider] = useExchangeProvider();
// $FlowFixMe no clue what's up
const state: QueryParams = location.state;

const defaultMode = state?.mode || "onRamp";
Expand Down

1 comment on commit 87e6230

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint outputs ✅

Tests outputs ✅

PASS src/generate-cryptoassets-md.test.js

Test Suites: 1 skipped, 1 passed, 1 of 2 total
Tests: 5 skipped, 1 passed, 6 total
Snapshots: 0 total
Time: 3.649 s
Test results written to: report.json

Diff output ✅

Please sign in to comment.