Skip to content

Commit

Permalink
Fixed an issue in properties page
Browse files Browse the repository at this point in the history
  • Loading branch information
aelassas committed Oct 4, 2023
1 parent 17893ca commit 9e5f567
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/pages/Properties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function Properties() {
const [user, setUser] = useState<movininTypes.User>()
const [admin, setAdmin] = useState(false)
const [allAgencies, setAllAgencies] = useState<movininTypes.User[]>([])
const [agencies, setAgencies] = useState<string[]>([])
const [agencies, setAgencies] = useState<string[]>()
const [keyword, setKeyword] = useState('')
const [rowCount, setRowCount] = useState(0)
const [loading, setLoading] = useState(true)
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/Properties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function Properties() {
const [from, setFrom] = useState<Date>()
const [to, setTo] = useState<Date>()
const [allAgencies, setAllAgencies] = useState<movininTypes.User[]>([])
const [agencies, setAgencies] = useState<string[]>([])
const [agencies, setAgencies] = useState<string[]>()
const [loading, setLoading] = useState(true)
const [propertyTypes, setPropertyTypes] = useState(movininHelper.getAllPropertyTypes())
const [rentalTerms, setRentalTerms] = useState(movininHelper.getAllRentalTerms())
Expand Down

0 comments on commit 9e5f567

Please sign in to comment.