Skip to content

Commit

Permalink
style: ran prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
knownotunknown committed Mar 14, 2024
1 parent 697de78 commit f8171cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function CalendarHeader(): JSX.Element {

return (
<div className='min-h-79px min-w-672px w-full flex px-0 py-5'>
<div className='flex flex-row gap-20 w-full'>
<div className='w-full flex flex-row gap-20'>
<div className='flex gap-10'>
<div className='flex gap-1'>
<Button className='self-center' variant='single' icon={MenuIcon} color='ut-gray' />
Expand All @@ -57,7 +57,7 @@ export default function CalendarHeader(): JSX.Element {
</Text>
</div>
</div>
<div className='flex flex-row items-center justify-end space-x-8 ml-auto'>
<div className='ml-auto flex flex-row items-center justify-end space-x-8'>
<div className='flex flex-row space-x-4'>
<CourseStatus size='small' status={Status.WAITLISTED} />
<CourseStatus size='small' status={Status.CLOSED} />
Expand Down
5 changes: 4 additions & 1 deletion src/views/components/common/List/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,10 @@ function List<T>(props: ListProps<T>): JSX.Element {
const transformFunction = props.children;

useEffect(() => {
if (props.draggables.length === items.length && props.draggables.every((element, index) => equalityCheck(element, items[index].content))) {
if (
props.draggables.length === items.length &&
props.draggables.every((element, index) => equalityCheck(element, items[index].content))
) {
console.log("List's draggables have not changed");
return;
}
Expand Down

0 comments on commit f8171cc

Please sign in to comment.