Skip to content

Commit 9580c10

Browse files
committed
fix ts
1 parent c197998 commit 9580c10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/app/src/app/pages/Dashboard/Sidebar/SandboxesItem/FolderEntry/CreateFolderEntry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default ({ basePath, teamId, noFocus, close, depth }: Props) => {
5555
variables.teamId = teamId;
5656
}
5757
// Read the data from our cache for this query.
58-
const d = proxy.readQuery<{ me: any }>({
58+
const d: { me: any } = proxy.readQuery({
5959
query: PATHED_SANDBOXES_FOLDER_QUERY,
6060
variables,
6161
});

packages/app/src/app/pages/Dashboard/Sidebar/SandboxesItem/FolderEntry/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class FolderEntry extends React.Component<Props, State> {
266266
variables.teamId = teamId;
267267
}
268268

269-
const cacheData = cache.readQuery<{ me: any }>({
269+
const cacheData: { me: any } = cache.readQuery({
270270
query: PATHED_SANDBOXES_FOLDER_QUERY,
271271
variables,
272272
});

0 commit comments

Comments
 (0)