Skip to content

Commit ccd7edb

Browse files
committed
remove unused code
1 parent 8943350 commit ccd7edb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/root.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import { ButtonLink } from './utils/forms.tsx'
3232
import { getDomainUrl } from './utils/misc.server.ts'
3333
import { getUserImgSrc } from './utils/misc.ts'
3434
import { useNonce } from './utils/nonce-provider.ts'
35-
import { getSession } from './utils/session.server.ts'
3635
import { makeTimings, time } from './utils/timing.server.ts'
3736
import { useOptionalUser, useUser } from './utils/user.ts'
3837

@@ -75,7 +74,6 @@ export const meta: V2_MetaFunction = () => {
7574
}
7675

7776
export async function loader({ request }: DataFunctionArgs) {
78-
const cookieSession = await getSession(request.headers.get('Cookie'))
7977
const timings = makeTimings('root loader')
8078
const userId = await time(() => getUserId(request), {
8179
timings,

0 commit comments

Comments
 (0)