Skip to content

Commit 30dfa83

Browse files
authored
ref(koa): Remove unused koa router import (#11771)
1 parent 0817b9e commit 30dfa83

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

platform-includes/getting-started-use/javascript.koa.mdx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ require("./instrument");
44

55
// Now require other modules
66
const Koa = require("koa");
7-
const Router = require("@koa/router");
87
const Sentry = require("@sentry/node");
98

10-
const router = new Router();
119
const app = new Koa();
1210

1311
Sentry.setupKoaErrorHandler(app);
@@ -23,10 +21,8 @@ import "./instrument";
2321

2422
// Now import other modules
2523
import Koa from "koa";
26-
import Router from "@koa/router";
2724
import * as Sentry from "@sentry/node";
2825

29-
const router = new Router();
3026
const app = new Koa();
3127

3228
Sentry.setupKoaErrorHandler(app);

0 commit comments

Comments
 (0)