We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3018371 commit e4d1d7aCopy full SHA for e4d1d7a
1 file changed
src/snapshots-app/client/bundles/components/submission/tabs/style/StyleTab.jsx
@@ -99,7 +99,7 @@ function StyleTab() {
99
const codeQueryParams = new URLSearchParams();
100
codeQueryParams.append(
101
"object_key",
102
- `${backups[backups.length - 1].file_contents_location}/${file}`,
+ `${backups[0].file_contents_location}/${file}`,
103
);
104
105
fetch(`/api/files?${codeQueryParams}`)
@@ -112,7 +112,7 @@ function StyleTab() {
112
const lintErrorsQueryParams = new URLSearchParams();
113
lintErrorsQueryParams.append(
114
"file_contents_location",
115
116
117
118
fetch(`/api/lint_errors?${lintErrorsQueryParams}`)
0 commit comments