-
Notifications
You must be signed in to change notification settings - Fork 23
fix: update loading text and screen on redirect-page #714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
src/pages/redirect-page.tsx
Outdated
import React, { | ||
useCallback, | ||
useContext, | ||
useEffect, | ||
useMemo, | ||
useState, | ||
type ReactElement, | ||
} from "react" | ||
import Header from "../components/Header.jsx" | ||
import LoadingIndicator from "../components/loading-indicator.jsx" | ||
import { ConfigProvider } from "../context/config-context.jsx" | ||
import { | ||
ServiceWorkerContext, | ||
ServiceWorkerProvider, | ||
} from "../context/service-worker-context.jsx" | ||
import { setConfig, type ConfigDb } from "../lib/config-db.js" | ||
import { getSubdomainParts } from "../lib/get-subdomain-parts.js" | ||
import { isConfigPage } from "../lib/is-config-page.js" | ||
import { getUiComponentLogger, uiLogger } from "../lib/logger.js" | ||
import { tellSwToReloadConfig } from "../lib/sw-comms.js" | ||
import { translateIpfsRedirectUrl } from "../lib/translate-ipfs-redirect-url.js" | ||
import "./default-page-styles.css" | ||
|
||
const uiComponentLogger = getUiComponentLogger("redirect-page") | ||
const log = uiLogger.forComponent("redirect-page") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please be sure to make only changes where there are new changes, and follow existing code style?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there are still many changes here not following our code style and changes to lines that don't need to exist.
Title
fix: update loading text and screen on redirect-page
Description
fix #687
Notes & open questions
Change checklist