Skip to content

Commit 0037a28

Browse files
committed
cleanup
1 parent 884e3b8 commit 0037a28

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

app/components/card/Card.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ export function Card({ card, index }: { card: CardType; index: number }) {
245245
}
246246
}, [isSomeoneElseTypingOnThisCard]);
247247

248-
function onCardClick(event: MouseEvent<HTMLDivElement>) {
248+
function onCardClick() {
249249
const isCardContentCurrentlyFocused =
250250
document.activeElement === cardContentRef.current;
251251

tests/complete-flow.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ test("Board collaboration complete simple flow", async ({ browser }) => {
230230
await user2Context.close();
231231
});
232232

233-
test.afterEach(async ({ browser }) => {
233+
test.afterEach(async () => {
234234
// All boards created by test users
235235
const boardsToDelete = await prisma.board.findMany({
236236
where: {

tsconfig.json

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"strict": true,
1212
"allowJs": true,
1313
"forceConsistentCasingInFileNames": true,
14+
"noUnusedLocals": true,
15+
"noUnusedParameters": true,
1416
"baseUrl": ".",
1517
"paths": {
1618
"~/*": ["./app/*"]

0 commit comments

Comments
 (0)