We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 475db10 commit 6afec19Copy full SHA for 6afec19
gui/src/app/core/Project/ProjectQueryLoading.ts
@@ -96,10 +96,10 @@ export const fetchRemoteProject = async (query: QueryParams) => {
96
comment: string = "# ",
97
) => {
98
if (query[param]) {
99
- const value = await tryFetch(query[param]!);
+ const value = await tryFetch(query[param]);
100
return value ?? `${comment}Failed to load content from ${query[param]}`;
101
}
102
- return data[queryParamToDataModelFieldMap[param]!];
+ return data[queryParamToDataModelFieldMap[param]];
103
};
104
105
[
0 commit comments