Skip to content

Commit bb8e09f

Browse files
authored
fix: remove loader in AppDataContext (#595)
fix: use debounced autoresize fix(deps): update graasp-apps-query-client to 3.7.1 chore(deps): remove @types/uuid from devDeps
1 parent 7ca4bba commit bb8e09f

File tree

3 files changed

+190
-166
lines changed

3 files changed

+190
-166
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@codemirror/lang-javascript": "^6.2.1",
3030
"@emotion/react": "11.13.3",
3131
"@emotion/styled": "11.13.0",
32-
"@graasp/apps-query-client": "3.7.0",
32+
"@graasp/apps-query-client": "3.7.1",
3333
"@graasp/sdk": "4.32.1",
3434
"@graasp/stylis-plugin-rtl": "2.2.0",
3535
"@graasp/ui": "5.3.1",
@@ -103,7 +103,6 @@
103103
"@types/react": "18.3.12",
104104
"@types/react-dom": "18.3.1",
105105
"@types/react-plotly.js": "^2.6.3",
106-
"@types/uuid": "10.0.0",
107106
"@typescript-eslint/eslint-plugin": "8.11.0",
108107
"@typescript-eslint/parser": "8.11.0",
109108
"@vitejs/plugin-react": "^4.2.1",

src/modules/context/AppDataContext.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React, { createContext, useMemo } from 'react';
22

33
import { Data } from '@graasp/apps-query-client';
44
import { AppData } from '@graasp/sdk';
5-
import { Loader } from '@graasp/ui';
65

76
import { UseQueryResult } from '@tanstack/react-query';
87

@@ -115,10 +114,6 @@ export const AppDataProvider = ({ children }: Props): JSX.Element => {
115114
],
116115
);
117116

118-
if (isLoading) {
119-
return <Loader />;
120-
}
121-
122117
return (
123118
<AppDataContext.Provider value={contextValue}>
124119
{children}

0 commit comments

Comments
 (0)