Skip to content

Commit 35bf979

Browse files
committed
Update
1 parent 75970a2 commit 35bf979

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

explorer-v2/src/hooks.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import cookie from 'cookie';
22
import { v4 as uuid } from '@lukeed/uuid';
33

4-
export async function handle({ request, render }) {
4+
export async function handle({ request, resolve }) {
55
const cookies = cookie.parse(request.headers.cookie || '');
66
request.locals.userid = cookies.userid || uuid();
77

@@ -10,7 +10,7 @@ export async function handle({ request, render }) {
1010
request.method = request.query.get('_method').toUpperCase();
1111
}
1212

13-
const response = await render(request);
13+
const response = await resolve(request);
1414

1515
if (!cookies.userid) {
1616
// if this is the first time the user has visited this app,

explorer-v2/src/lib/ESLintPlayground.svelte

-7
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,6 @@
151151
min-width: 1px;
152152
}
153153
154-
.playground-content > .editor-content > .eslint-playground {
155-
height: 100%;
156-
width: 100%;
157-
box-sizing: border-box;
158-
padding: 3px;
159-
}
160-
161154
.playground-content > .editor-content > .messages {
162155
height: 30%;
163156
width: 100%;

0 commit comments

Comments
 (0)