Skip to content

Commit 9b8830b

Browse files
committed
refactor: drop unused context parameter in click and hover handlers
1 parent 996f442 commit 9b8830b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tools/input.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const click = definePageTool({
5858
dblClick: dblClickSchema,
5959
includeSnapshot: includeSnapshotSchema,
6060
},
61-
handler: async (request, response, _context) => {
61+
handler: async (request, response) => {
6262
const uid = request.params.uid;
6363
const handle = await request.page.getElementByUid(uid);
6464
try {
@@ -130,7 +130,7 @@ export const hover = definePageTool({
130130
),
131131
includeSnapshot: includeSnapshotSchema,
132132
},
133-
handler: async (request, response, _context) => {
133+
handler: async (request, response) => {
134134
const uid = request.params.uid;
135135
const handle = await request.page.getElementByUid(uid);
136136
try {

0 commit comments

Comments
 (0)