Skip to content

Commit

Permalink
Merge pull request #825 from CodeForPhilly/staging
Browse files Browse the repository at this point in the history
Deploy Staging to Main branch (bugfix)
  • Loading branch information
CodeWritingCow committed Jul 22, 2024
2 parents 9c2d22e + b561103 commit 797c09c
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 22 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
"rules": {
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"custom-rules/no-text-size-class": "warn",
"prettier/prettier": "error"
},
Expand Down
1 change: 0 additions & 1 deletion src/app/find-properties/[[...opa_id]]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import {
SidePanel,
SidePanelControlBar,
} from '@/components';
import { FilterProvider } from '@/context/FilterContext';
import { NextUIProvider, Spinner } from '@nextui-org/react';
import { X, GlobeHemisphereWest, ListBullets } from '@phosphor-icons/react';
import { MapGeoJSONFeature } from 'maplibre-gl';
Expand Down
8 changes: 1 addition & 7 deletions src/components/ContentCard.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FC, ReactNode } from 'react';
import { FC } from 'react';
import Image, { StaticImageData } from 'next/image';
import { ThemeButtonLink } from './ThemeButton';
import { ArrowUpRight, CaretRight } from '@phosphor-icons/react';
Expand Down Expand Up @@ -29,16 +29,10 @@ type ContentCardProps = {
};

const ContentCard: FC<ContentCardProps> = ({
// image,
image,
alt,
title,
body,
description,
linkurl,
linktext,
labelUpkeep,
upkeepLevel,
links,
details,
hasArrow,
Expand Down
1 change: 0 additions & 1 deletion src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Navbar, NavbarBrand, NavbarContent } from '@nextui-org/react';
import { PiBinoculars, PiKey, PiTree, PiInfo } from 'react-icons/pi';
import { ThemeButton, ThemeButtonLink } from './ThemeButton';
import Image from 'next/image';
import Link from 'next/link';
import IconLink from './IconLink';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Hotjar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import React, { useEffect } from 'react';
import { useEffect } from 'react';

const Hotjar = () => {
useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/MapLegendControl/MapLegendControl.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ControlPosition, FillLayerSpecification } from 'maplibre-gl';
import React, { Dispatch, SetStateAction } from 'react';
import { Dispatch, SetStateAction } from 'react';
import { useControl } from 'react-map-gl';
import { MapLegendControlClass } from './MapLegend';

Expand Down
2 changes: 1 addition & 1 deletion src/components/PropertyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function getPriorityClass(priorityLevel: string) {
}

const PropertyCard = ({ feature, setSelectedProperty }: PropertyCardProps) => {
const { address, guncrime_density, tree_canopy_gap, priority_level, opa_id } =
const { address, guncrime_density, priority_level, opa_id } =
feature.properties;

const image = `https://storage.googleapis.com/cleanandgreenphl/${opa_id}.jpg`;
Expand Down
11 changes: 1 addition & 10 deletions src/components/PropertyDetailSection.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
'use client';

import {
FC,
useState,
useMemo,
useRef,
useEffect,
SetStateAction,
Dispatch,
} from 'react';
import { FC, useState, useMemo, useRef, SetStateAction, Dispatch } from 'react';
import { ThemeButton } from './ThemeButton';
import { PiCaretRight, PiCaretLeft } from 'react-icons/pi';
import {
Expand Down Expand Up @@ -85,7 +77,6 @@ const PropertyDetailSection: FC<PropertyDetailSectionProps> = ({
key,
value,
isActive,
isFirst,
onNext,
onPrevious,
setPage,
Expand Down

0 comments on commit 797c09c

Please sign in to comment.