Skip to content

Commit 6e088f4

Browse files
committed
chore(wordlist): add pwa to wordlist
1 parent 70a6e7d commit 6e088f4

File tree

10 files changed

+31
-14
lines changed

10 files changed

+31
-14
lines changed

src/components/JobOffers/CompanyCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Button, Card, Col, Row } from "react-bootstrap";
33
import { ExternalLink, Linkedin, Twitter } from "lucide-react";
44
// @ts-expect-error some quirky import
55
import { motion } from "framer-motion";
6-
// @ts-expect-error some quirky
76
import { Company } from "@/types/jobOffers";
87
import JobOfferCard from "@components/JobOffers/JobOfferCard";
98

src/components/JobOffers/CompanyOffers.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import {
1212
OfferText,
1313
OfferTitle,
1414
} from "@styles/JobOffers/JobOffers.Style";
15-
// @ts-expect-error some quirky
1615
import { CompanyProps } from "@/types/jobOffers";
1716

1817
const CompanyOffers: React.FC<React.PropsWithChildren<CompanyProps>> = ({

src/components/JobOffers/JobsCard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { FC } from "react";
22
import { styled } from "styled-components";
33
import { Color } from "@styles/colors";
4+
// @ts-expect-error some quirky import
45
import { motion } from "motion/react";
56
import {
67
StyledFaqCard,

src/components/Swiper/SpeakersCarousel.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { FC } from "react";
22
import { Link } from "react-router";
3+
// @ts-expect-error some quirky import
34
import { motion } from "motion/react";
45
import { styled } from "styled-components";
56
import SpeakerSwiper from "./SpeakerSwiper";

src/utils/testing/speakerTestUtils.tsx

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@ export const createMockSpeaker = (overrides = {}): ISpeaker => ({
1818
name: "sample session",
1919
},
2020
],
21-
links: [
22-
{
23-
linkType: "Twitter",
24-
url: "https://twitter.com/johnsmith",
25-
title: "",
26-
},
27-
{
28-
linkType: "LinkedIn",
29-
url: "https://linkedin.com/in/johnsmith",
30-
title: "",
31-
},
32-
],
3321
...overrides,
3422
});
3523

src/views/Home/components/Faqs/Faqs.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import FaqCard from "./components/FaqsCard";
44
import { useWindowSize } from "react-use";
55
import { MOBILE_BREAKPOINT } from "@constants/BreakPoints";
66
import { StyledLoadingImage } from "@components/Loading/Loading";
7+
// @ts-expect-error some quirky import
78
import { motion } from "motion/react";
89
import { faqsData } from "./FaqsData";
910
import { SectionWrapper } from "@components/SectionWrapper/SectionWrapper";

src/views/Home/components/Faqs/components/FaqsCard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { FC, Suspense } from "react";
22
import { StyledLoadingImage } from "@components/Loading/Loading";
3+
// @ts-expect-error some quirky import
34
import { motion } from "motion/react";
45
import {
56
FaqCardType,

src/views/Home/components/Home/Home.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { SectionWrapper } from "@components/SectionWrapper/SectionWrapper";
44
import { BIGGER_BREAKPOINT } from "@constants/BreakPoints";
55
import TimeCountDown from "./components/TimeCountdown";
66
import { useWindowSize } from "react-use";
7+
// @ts-expect-error some quirky import
78
import { motion } from "motion/react";
89
import {
910
StyledBlueSlash,

src/views/Talks/LiveView.test.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ describe("Live view component", () => {
127127
let clearIntervalMock: MockedFunction<typeof global.clearInterval>;
128128

129129
beforeEach(() => {
130+
// @ts-expect-error I dont understand this
130131
setIntervalMock = vi.fn(() => {
131132
return 123;
132133
});
@@ -158,6 +159,18 @@ describe("Live view component", () => {
158159
isFetching: true,
159160
refetch: vi.fn(),
160161
remove: vi.fn(),
162+
isLoadingError: false,
163+
isRefetchError: false,
164+
dataUpdatedAt: 0,
165+
errorUpdatedAt: 0,
166+
failureCount: 0,
167+
errorUpdateCount: 0,
168+
isFetched: false,
169+
isFetchedAfterMount: false,
170+
isPlaceholderData: false,
171+
isPreviousData: false,
172+
isRefetching: false,
173+
isStale: false,
161174
});
162175

163176
renderWithQueryClientAndRouter(<LiveView />);
@@ -177,6 +190,18 @@ describe("Live view component", () => {
177190
isFetching: false,
178191
refetch: vi.fn(),
179192
remove: vi.fn(),
193+
isLoadingError: false,
194+
isRefetchError: false,
195+
dataUpdatedAt: 0,
196+
errorUpdatedAt: 0,
197+
failureCount: 0,
198+
errorUpdateCount: 0,
199+
isFetched: false,
200+
isFetchedAfterMount: false,
201+
isPlaceholderData: false,
202+
isPreviousData: false,
203+
isRefetching: false,
204+
isStale: false,
180205
});
181206

182207
const { unmount } = renderWithQueryClientAndRouter(<LiveView />);

src/views/sponsorship/Sponsorship.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import "@egjs/react-flicking/dist/flicking.css";
1919
import Button from "@components/UI/Button";
2020
import { gaEventTracker } from "@components/analytics/Analytics";
2121
import { useDocumentTitleUpdater } from "@hooks/useDocumentTitleUpdate";
22+
// @ts-expect-error some quirky import
2223
import { AnimatePresence, motion } from "framer-motion";
2324

2425
const StyledWaveContainer = styled.div`

0 commit comments

Comments
 (0)