Skip to content

Commit

Permalink
Update overview and vulnerabilities section with proper data fetching…
Browse files Browse the repository at this point in the history
… method
  • Loading branch information
Levironexe committed Oct 26, 2024
1 parent 964f6a7 commit a734dfc
Show file tree
Hide file tree
Showing 36 changed files with 669 additions and 48,503 deletions.
684 changes: 443 additions & 241 deletions app/api/backend.mjs

Large diffs are not rendered by default.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729788732008-144976194.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729789040141-363580194.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729789161739-111170816.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729789209485-72963277.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729789257596-770519629.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729789540985-915752235.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729791081574-279065936.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729807762472-693738646.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729808024413-309876997.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729808113420-601666536.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729808507370-473274218.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729808603511-614676959.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729820423782-940160024.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729820471994-34420655.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729820576582-824190408.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729821244300-939222585.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729821496223-688339861.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729821817840-171758606.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729821940759-282179510.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729821993926-279009626.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729822490209-444268394.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729823113167-316818505.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729823400774-680295923.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729823724402-583299337.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729824294573-151604978.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729824388248-854683049.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729824663495-208623935.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729824691606-708783209.sol

This file was deleted.

1,648 changes: 0 additions & 1,648 deletions app/api/uploads/ActivityPool-1729824763048-505946666.sol

This file was deleted.

143 changes: 0 additions & 143 deletions app/api/uploads/Test_1-1729808659268-441728940.sol

This file was deleted.

4 changes: 3 additions & 1 deletion components/button/upload-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,11 @@ const UploadForm = ({style, title}: UploadFormProps) => {
});

if (analyzeResponse.data.status === 'success') {
const metricsId = analyzeResponse.data.data.id;

localStorage.setItem('metricsId', metricsId);
setMessage('Upload successful! The scan has started.');
startScanning(analyzeResponse.data.data);

// Clear form
setProjectName('');
setContractFile(null);
Expand Down
Loading

0 comments on commit a734dfc

Please sign in to comment.