Skip to content

Commit 3d24371

Browse files
committed
[wip] added virtualized scrolling
1 parent 642e2d1 commit 3d24371

File tree

4 files changed

+313
-278
lines changed

4 files changed

+313
-278
lines changed

packages/graphql-playground/src/components/Playground.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ import { ThemeProvider, theme as styledTheme } from '../styled'
4646
export type Theme = 'dark' | 'light'
4747
export type Viewer = 'ADMIN' | 'EVERYONE' | 'USER'
4848
export interface Response {
49+
resultID: string
4950
date: string
5051
time: Date
5152
}
@@ -555,6 +556,7 @@ export class Playground extends React.PureComponent<Props & DocsState, State> {
555556
response: {
556557
date: `Error: Could not fetch schema from ${endpointUrl}. Make sure the url is correct.`,
557558
time: new Date(),
559+
resultID: cuid(),
558560
},
559561
})
560562
})

0 commit comments

Comments
 (0)