Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
zack committed Jul 8, 2024
1 parent 074141b commit b16117f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/CommunityDistrictData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type CommunityDistrictDataFetcherFunction = (
endDate: Date,
) => Promise<ChartData[]>;

export default memo(function BoroughData() {
export default memo(function CommunityDistrictData() {
const [borough, setBorough] = React.useState<string | undefined>(undefined);
const [communityDistricts, setCommunityDistricts] = React.useState<
{ communityDistrict: number; borough: string }[]
Expand Down
2 changes: 1 addition & 1 deletion app/CouncilDistrictData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export type CouncilDistrictDataFetcherFunction = (
endDate: Date,
) => Promise<ChartData[]>;

export default memo(function BoroughData() {
export default memo(function CouncilDistrictData() {
const [borough, setBorough] = React.useState<string | undefined>(undefined);
const [councilDistricts, setCouncilDistricts] = React.useState<
{ councilDistrict: number; borough: string }[]
Expand Down
4 changes: 2 additions & 2 deletions app/DockData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ export default memo(function DockData() {
<TextField
{...p}
label='Dock'
InputLabelProps={{ shrink: true }}
InputProps={{
...p.InputProps,
endAdornment: (
Expand Down Expand Up @@ -223,7 +222,8 @@ export default memo(function DockData() {
{dataIsNotUpToDate && (
<Alert severity='warning' sx={{ mt: 3 }}>
<b>Warning:</b> There is no recent data for this dock. It may have
been moved, removed, renamed, or perhaps destroyed in a <a href='https://crashnotaccident.com/'>car crash</a>.
been moved, removed, renamed, or perhaps destroyed in a{' '}
<a href='https://crashnotaccident.com/'>car crash</a>.
</Alert>
)}

Expand Down

0 comments on commit b16117f

Please sign in to comment.