Skip to content

Commit

Permalink
Transfer courses only render when a plan is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonLim8890 committed Apr 10, 2024
1 parent d261188 commit efc6bdd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/frontend/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,14 +306,14 @@ const HomePage: NextPage = () => {
setIsRemove={setIsRemove}
/>
<Divider borderColor="neutral.200" borderWidth={1} />
<TransferCourses
isExpanded={isTransferCoursesExpanded}
toggleExpanded={() =>
setIsTransferCoursesExpanded(!isTransferCoursesExpanded)
}
/>
</>
)}
<TransferCourses
isExpanded={isTransferCoursesExpanded}
toggleExpanded={() =>
setIsTransferCoursesExpanded(!isTransferCoursesExpanded)
}
/>
</Flex>
</Box>
</PageLayout>
Expand Down

0 comments on commit efc6bdd

Please sign in to comment.