Skip to content

Commit

Permalink
Merge branch 'dev' into jesse/fixing-routes-and-merging-prs
Browse files Browse the repository at this point in the history
  • Loading branch information
jeessh authored Sep 21, 2024
2 parents 29f1287 + 2a4e300 commit 29a72ee
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ import moment from "moment";
import {
Box,
Flex,
InputGroup,
InputLeftElement,
Input,
Icon,
Tabs,
TabList,
Expand Down Expand Up @@ -138,6 +135,10 @@ const GroupList: React.FC<{
const [allRooms, setAllRooms] = useState([1, 2, 3, 4, 5, 6]);
const [processedAnnouncements, setProcessedAnnouncements] =
useState<ProcessedGroupAnnouncements>();

const [searchRooms, setSearchRooms] = useState<number[]>([]);

Check failure on line 139 in frontend/src/components/pages/announcements/AnnouncementsGroups.tsx

View workflow job for this annotation

GitHub Actions / run-lint

'searchRooms' is already defined

Check failure on line 139 in frontend/src/components/pages/announcements/AnnouncementsGroups.tsx

View workflow job for this annotation

GitHub Actions / run-lint

'setSearchRooms' is already defined
const [allRooms, setAllRooms] = useState([1, 2, 3, 4, 5, 6]);

Check failure on line 140 in frontend/src/components/pages/announcements/AnnouncementsGroups.tsx

View workflow job for this annotation

GitHub Actions / run-lint

'allRooms' is already defined

Check failure on line 140 in frontend/src/components/pages/announcements/AnnouncementsGroups.tsx

View workflow job for this annotation

GitHub Actions / run-lint

'setAllRooms' is already defined

useEffect(() => {
const processedData: ProcessedGroupAnnouncements = {
all: {},
Expand Down Expand Up @@ -215,6 +216,7 @@ const GroupList: React.FC<{
setSearchRooms([...searchRooms, roomId]);
}
};

const addRoom = () => {
setAddingNewRoom(true);
};
Expand Down Expand Up @@ -280,6 +282,7 @@ const GroupList: React.FC<{
))}
</HStack>
</Box>

<IconButton
icon={<EditNoteIcon />}
aria-label="Edit"
Expand Down

0 comments on commit 29a72ee

Please sign in to comment.