Skip to content

Commit

Permalink
Typescript Downgrade and WhatsApp @mui/icons change (#1132)
Browse files Browse the repository at this point in the history
* 1123 - bump up next and react versions

* 1123 - move out next middlewares

* 1123 - migrate to new next/image api and add a11y todos

* 1123 - fix layout='fill' images and migrate to new next/link api

* 1123 - fix banner image on details page and LinkMenuItems

* 1123 - update next-auth version and fix Link with the new next/link api

* 1123 - fix next-auth type and cleanup conosole.log

* 1123 - remove and replace console.logs from DonationTables

* 1123 - add swcMinify to the config

* 1123 - update i18n dependency

* 1123 - fix fill image on the one time donation page

* 1123 - update typescript, fix typings and add ExternalLinkMenuItem component

* 1123 - fix @react-pdf typings and other left out

* 1123 - revert test:e2e command

* 1123 - remove unecessary resolution

* 1123 - update support page e2e tests to match behaviour

* 1123 - fix expects on the homepage tests and move out next/script

* 1123 - update auth to now protect admin

* change out WhatsAppOutlined for WhatsApp in `socialMedia.ts`

* remove ts-expec-error from chat.tsx

* return @ts-expect-error on the chat.tsx component

* return typescript to 4.5.5

* update to typescript 4.8.3
  • Loading branch information
dimitur2204 committed Nov 21, 2022
1 parent db39956 commit fa1ce50
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
"stripe": "^8.184.0",
"stylelint": "^14.5.0",
"stylelint-config-sass-guidelines": "9.0.1",
"typescript": "4.9.3"
"typescript": "4.8.3"
},
"lint-staged": {
"*.{ts,tsx,js}": [
Expand Down
4 changes: 2 additions & 2 deletions src/components/campaigns/helpers/socialMedia.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { FacebookOutlined, LinkedIn, Twitter, WhatsappOutlined } from '@mui/icons-material'
import { FacebookOutlined, LinkedIn, Twitter, WhatsApp } from '@mui/icons-material'

export type Social = {
label: string
Expand All @@ -21,7 +21,7 @@ export function socialMedia(url: string): Social {
},
{
label: 'Споделете в Whatsapp',
icon: WhatsappOutlined,
icon: WhatsApp,
url: `https://api.whatsapp.com/send/?text=${url}`,
},
{
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7846,10 +7846,10 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"

typescript@4.9.3:
version "4.9.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.3.tgz#3aea307c1746b8c384435d8ac36b8a2e580d85db"
integrity sha512-CIfGzTelbKNEnLpLdGFgdyKhG23CKdKgQPOBc+OUNrkJ2vr+KSzsSV5kq5iWhEQbok+quxgGzrAtGWCyU7tHnA==
typescript@4.8.3:
version "4.8.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.8.3.tgz#d59344522c4bc464a65a730ac695007fdb66dd88"
integrity sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==

unbox-primitive@^1.0.1:
version "1.0.1"
Expand Down

0 comments on commit fa1ce50

Please sign in to comment.