Skip to content

Commit

Permalink
fix(deps): update dependency react-icons to v5.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored and jthvai committed Dec 4, 2024
1 parent a56557e commit 7762596
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"react-bootstrap": "2.10.6",
"react-bootstrap-typeahead": "6.3.4",
"react-dom": "18.3.1",
"react-icons": "5.3.0",
"react-icons": "5.4.0",
"react-scripts": "5.0.1",
"react-timezone-select": "3.2.8",
"react-virtuoso": "4.12.3",
Expand Down
8 changes: 5 additions & 3 deletions src/Export.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { useState, forwardRef } from 'react'
import { Dropdown, DropdownButton, InputGroup } from 'react-bootstrap'
import { SiApple, SiGooglecalendar, SiMicrosoftoutlook, SiMicrosoftexchange } from 'react-icons/si'
import { SiApple, SiGooglecalendar } from 'react-icons/si'
import { PiMicrosoftOutlookLogoFill } from "react-icons/pi"
import { TfiMicrosoftAlt } from "react-icons/tfi"
// import { BsFillCalendarWeekFill, BsFillPrinterFill, BsCardImage } from 'react-icons/bs'
import { BsFillCalendarWeekFill, BsCardImage } from 'react-icons/bs'

Expand Down Expand Up @@ -130,11 +132,11 @@ const Export = forwardRef(({ API, year, session, setIsPrintView, setPrintViewCap
// but in our case it drops all but the first qs param during parsing (maybe need double-encode?) and adds a 10s+ delay
// source code - /owa/node_modules/calendar-bootstrap-config/src/routing/browseDiscoverCalendarsRouteHandler.ts
href={`https://outlook.live.com/calendar/0/addfromweb?name=${name}&url=${encoded}`}>
<SiMicrosoftoutlook /> Outlook.com
<PiMicrosoftOutlookLogoFill /> Outlook.com
</Dropdown.Item>
<Dropdown.Item eventKey="aad" target={"_blank"} rel={"noreferrer"}
href={`https://outlook.office.com/calendar/0/addfromweb?name=${name}&url=${encoded}`}>
<SiMicrosoftexchange /> Office 365
<TfiMicrosoftAlt /> Office 365
</Dropdown.Item>
<Dropdown.Divider />
<Dropdown.Item eventKey="ics" download={`${staticName}.ics`} href={`${window.location.protocol}//${path}`}>
Expand Down

0 comments on commit 7762596

Please sign in to comment.