File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { FunctionComponent } from 'preact';
33const About : FunctionComponent = ( ) => (
44 < >
55 < h2 > About</ h2 >
6- < p className = "hint" >
6+ < p class = "hint" >
77 This is a utility for finding your closest photo for several different
88 game modes. All computations are performed on your computer and no data is
99 transmitted anywhere. If you want to see or modify the source code, feel
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const Data: FunctionComponent = () => {
3434 Load File
3535 </ FileInput >
3636 < MaybeError error = { error } />
37- < p className = "hint" >
37+ < p class = "hint" >
3838 Supported files:{ ' ' }
3939 < a href = "https://en.wikipedia.org/wiki/Comma-separated_values" > CSV</ a > { ' ' }
4040 with latitude and longitude columns, or{ ' ' }
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ interface Props {
88
99const Icon : FunctionComponent < Props > = ( { name, label, onClick } ) => (
1010 < span
11- className = "icon"
11+ class = "icon"
1212 role = { onClick ? 'button' : 'img' }
1313 aria-label = { label }
1414 onClick = { onClick }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ interface Props {
66
77const MaybeError : FunctionComponent < Props > = ( { error } ) => {
88 if ( error ) {
9- return < p className = "error" > { error } </ p > ;
9+ return < p class = "error" > { error } </ p > ;
1010 } else {
1111 return null ;
1212 }
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ export function Selector<T extends string | number>({
6565 ) ;
6666
6767 return (
68- < p id = { id } className = "selector" >
68+ < p id = { id } class = "selector" >
6969 { children }
7070 { values . map ( ( [ value , name ] ) => (
7171 < Radio
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const PositionCell: FunctionComponent<Props> = ({ coord }) => {
1919 navigator . clipboard . writeText ( stringCoord ) . catch ( console . error ) ;
2020 } , [ stringCoord ] ) ;
2121 return (
22- < td className = "position" >
22+ < td class = "position" >
2323 < a href = { url } > { stringCoord } </ a >
2424 < Icon name = "copy" label = "Copy coordinates" onClick = { onCopyClick } />
2525 </ td >
You can’t perform that action at this time.
0 commit comments