Skip to content

Commit d89bf2d

Browse files
committed
Test
1 parent f591cb1 commit d89bf2d

3 files changed

Lines changed: 10 additions & 3 deletions

File tree

‎web/components/answers/answer-compatibility-question-content.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const submitCompatibilityAnswer = async (
6767
explanation: input.explanation ?? null,
6868
})
6969

70-
// Track only if upsert succeeds
70+
// Track only if the upsert succeeds
7171
track('answer compatibility question', {
7272
...newAnswer,
7373
})

‎web/components/widgets/input.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import clsx from 'clsx'
2-
import { forwardRef, Ref } from 'react'
2+
import {forwardRef, Ref} from 'react'
33

44
/** Text input. Wraps html `<input>` */
55
export const Input = forwardRef(
@@ -13,7 +13,6 @@ export const Input = forwardRef(
1313

1414
return (
1515
<>
16-
{/* eslint-disable-next-line react/no-unknown-property */}
1716
<style jsx>{`
1817
input::-webkit-inner-spin-button,
1918
input::-webkit-outer-spin-button {

‎web/types/styled-jsx.d.ts‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import 'react'
2+
3+
declare module 'react' {
4+
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
5+
jsx?: boolean
6+
global?: boolean
7+
}
8+
}

0 commit comments

Comments
 (0)