Skip to content

Added pathname prefix to load welcome banner on prod #12

Added pathname prefix to load welcome banner on prod

Added pathname prefix to load welcome banner on prod #12

Triggered via push December 9, 2023 12:17
Status Failure
Total duration 34s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
specs: src/components/Assignment.tsx#L27
Replace `⏎········{t("answer_the_email_and_cover_topics")}⏎······` with `{t("answer_the_email_and_cover_topics")}`
specs: src/components/DropdownMenu.tsx#L22
Replace `⏎············className="-mr-1·h-5·w-5·text-gray-400"⏎············aria-hidden="true"⏎·········` with `·className="-mr-1·h-5·w-5·text-gray-400"·aria-hidden="true"`
specs: src/components/DropdownMenu.tsx#L48
Replace `⏎··························languageCode·as·keyof·EmojiCountryCodes⏎························` with `languageCode·as·keyof·EmojiCountryCodes`
specs: src/components/DropdownMenu.tsx#L53
Replace `⏎························countryCode={languageCode·as·keyof·EmojiCountryCodes}⏎·····················` with `·countryCode={languageCode·as·keyof·EmojiCountryCodes}`
specs: src/components/Footer.tsx#L17
Replace `⏎··············className="w-4·mr-2"⏎··············src="./lingo-email/github.svg"⏎··············alt="Github·repo"⏎···········` with `·className="w-4·mr-2"·src="./lingo-email/github.svg"·alt="Github·repo"`
specs: src/components/Markdownify.tsx#L33
Replace `⏎······rehypePlugins={[rehypeRaw]}⏎······className={`markdown-copy·${className}`}⏎····` with `·rehypePlugins={[rehypeRaw]}·className={`markdown-copy·${className}`}`
specs: src/components/Navbar.tsx#L56
Replace `⏎······?·window.confirm(t("restart_alert_question"))⏎·····` with `·?·window.confirm(t("restart_alert_question"))`
specs: src/components/Navbar.tsx#L145
Replace `⏎············className="w-7·mr-8"⏎············src="./lingo-email/github.svg"⏎············alt="Github·repo"⏎·········` with `·className="w-7·mr-8"·src="./lingo-email/github.svg"·alt="Github·repo"`
specs: src/components/Settings.tsx#L68
Replace `⏎········t("example_response_topics",·{·lng:·language,·returnObjects:·true·})⏎······` with `t("example_response_topics",·{·lng:·language,·returnObjects:·true·})`
specs: src/components/Settings.tsx#L90
Replace `⏎··········{t("open_ai_api_key")}⏎········` with `{t("open_ai_api_key")}`
specs: src/App.tsx#L81
React Hook useEffect has missing dependencies: 'i18n', 'setSettingsVisible', and 'userLanguage'. Either include them or remove the dependency array
specs: src/App.tsx#L96
React Hook useEffect has a missing dependency: 'setWelcomeBannerCopy'. Either include it or remove the dependency array
specs: src/components/ErrorMessage.tsx#L25
React Hook useEffect has a missing dependency: 'handleClickOutside'. Either include it or remove the dependency array
specs: src/components/Settings.tsx#L54
React Hook useEffect has missing dependencies: 'handleClickOutside' and 'handleEsc'. Either include them or remove the dependency array