Skip to content

Commit 9dcfaee

Browse files
committed
refactor: Remove unnecessary async in systemInfo endpoint
(cherry picked from commit 1cb0fac)
1 parent 28450dc commit 9dcfaee

File tree

1 file changed

+1
-1
lines changed
  • specifyweb/frontend/js_src/lib/components/InitialContext

1 file changed

+1
-1
lines changed

specifyweb/frontend/js_src/lib/components/InitialContext/systemInfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ let systemInfo: SystemInfo;
2828
export const fetchContext = load<SystemInfo>(
2929
'/context/system_info.json',
3030
'application/json'
31-
).then(async (data) => {
31+
).then((data) => {
3232
systemInfo = data;
3333

3434
return systemInfo;

0 commit comments

Comments
 (0)