Skip to content

Commit

Permalink
Merge branch 'han-event-expanded-view-component-issue-11' of https://…
Browse files Browse the repository at this point in the history
…github.com/hack4impact-calpoly/slo-beaver-brigade into han-event-expanded-view-component-issue-11
  • Loading branch information
HanYu-Wu04 committed Feb 11, 2024
2 parents 0ebb0a6 + e2fbd8a commit cf5815e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/app/Providers.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"use client";
import { ChakraProvider } from "@chakra-ui/react";
import StyledComponentsRegistry from "./lib/registry";

export default function Providers({ children }: { children: React.ReactNode }) {
Expand Down
4 changes: 2 additions & 2 deletions src/app/components/ExpandedViewComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ const EventExpandedView: React.FC<EventExpandedViewProps> = ({ eventDetails }) =
return (
<Center>
<Box borderWidth="1px" borderRadius="lg" bg="lightblue" m={{ base: '2', md: '0' }}
cursor="pointer">
>
{/* Title Section */}
<Box mb={1} bg="lightblue" p={2} borderRadius="md" onClick={() => setShowExpandedView(!showExpandedView)}>
<Box cursor="pointer" mb={1} bg="lightblue" p={2} borderRadius="md" onClick={() => setShowExpandedView(!showExpandedView)}>
<Flex align="center" justify="space-between">
<Text fontWeight="bold" fontSize="2xl">{eventDetails.eventName}</Text>
<Flex>
Expand Down

0 comments on commit cf5815e

Please sign in to comment.