Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 committed Dec 15, 2023
1 parent 759b1e6 commit b13c0cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web-new/src/pages/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function Dashboard() {

{config && (
<div>
<div className="grid gap-2 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
<div className="grid gap-2 sm:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4">
{sortedCameras.map((camera) => {
return <Camera key={camera.name} camera={camera} />;
})}
Expand Down
8 changes: 4 additions & 4 deletions web-new/src/pages/Live.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ function Live() {
<DropdownMenuLabel>Select A Camera</DropdownMenuLabel>
<DropdownMenuSeparator />
<DropdownMenuRadioGroup value={camera} onValueChange={setCamera}>
{Object.keys(sortedCameras).map((item) => (
{(sortedCameras).map((item) => (
<DropdownMenuRadioItem
className="capitalize"
key={item}
value={item}
key={item.name}
value={item.name}
>
{item.replaceAll("_", " ")}
{item.name.replaceAll("_", " ")}
</DropdownMenuRadioItem>
))}
</DropdownMenuRadioGroup>
Expand Down

0 comments on commit b13c0cc

Please sign in to comment.