0

feat(footer): use simpler version string

This commit is contained in:
Gabe Kangas 2023-04-28 20:47:25 -07:00
parent 9bef5730d9
commit b225cd9dc7
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
2 changed files with 3 additions and 3 deletions

View File

@ -52,9 +52,9 @@ export const Main: FC = () => {
const appState = useRecoilValue<AppStateOptions>(appStateAtom);
const layoutRef = useRef<HTMLDivElement>(null);
const { chatDisabled, version } = clientConfig;
const { chatDisabled } = clientConfig;
const { videoAvailable } = appState;
const { online, streamTitle } = clientStatus;
const { online, streamTitle, versionNumber: version } = clientStatus;
useEffect(() => {
setupNoLinkReferrer(layoutRef.current);

View File

@ -8,7 +8,7 @@ export type FooterProps = {
export const Footer: FC<FooterProps> = ({ version }) => (
<footer className={styles.footer} id="footer">
<span>
Powered by <a href="https://owncast.online">{version}</a>
Powered by <a href="https://owncast.online">Owncast v{version}</a>
</span>
<span className={styles.links}>
<a href="https://owncast.online/docs" target="_blank" rel="noreferrer">