Skip to content

Commit 6d7939b

Browse files
authored
Fix Typos and Bugs (#740)
1 parent ecfa193 commit 6d7939b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

react/src/pages/Account/Checkouts.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const CheckoutRow = ({ checkoutID }: { checkoutID: string }) => {
7171
disabled={
7272
(libraryDoc.checkoutGroups[userDoc.checkoutGroup].maxRenews ?? 0) -
7373
checkout.renewsUsed <=
74-
0
74+
0 || checkout.dueDate.toMillis() > Date.now()
7575
}
7676
onClick={() => {
7777
httpsCallable(

react/src/pages/CustomPage/About/DueDates.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const DueDates = () => (
3131
</ul>
3232
</li>
3333
<li>
34-
In the event that a book will due on an academic or national holiday or
34+
In the event that a book is due on an academic or national holiday or
3535
break, the book will be due on{' '}
3636
<b className="font-weight-bold">the first day back</b>.
3737
<ul>

react/src/pages/CustomPage/About/Introduction.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const Introduction = () => (
99
students can come check out books for their enjoyment. This will also
1010
serve as a resource center for students to acquire more knowledge about
1111
their fields of study. The library will be designed in a way where
12-
everyone will be be able to check out books for a reasonable time frame to
12+
everyone will be able to check out books for a reasonable time frame to
1313
ensure that all students have equal access to our catalog! We hope to see
1414
you there!
1515
</p>

0 commit comments

Comments
 (0)