-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More dead code that relied on Formio utils which caused our bundles to be larger than necessary. The backend has been updated a long time ago to provide the summary data to display, rather than having to do this client-side. The benefit is that no longer load anything from formio outside of the formio-init chunk, which should result in better perceived performance for end users.
- Loading branch information
1 parent
f553a25
commit 9a58271
Showing
4 changed files
with
9 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import {get} from 'api'; | ||
|
||
const loadSummaryData = async submissionUrl => { | ||
return await get(`${submissionUrl.href}/summary`); | ||
}; | ||
|
||
export {loadSummaryData}; |
This file was deleted.
Oops, something went wrong.