feat(footer): use simpler version string
This commit is contained in:
@@ -52,9 +52,9 @@ export const Main: FC = () => {
|
|||||||
const appState = useRecoilValue<AppStateOptions>(appStateAtom);
|
const appState = useRecoilValue<AppStateOptions>(appStateAtom);
|
||||||
|
|
||||||
const layoutRef = useRef<HTMLDivElement>(null);
|
const layoutRef = useRef<HTMLDivElement>(null);
|
||||||
const { chatDisabled, version } = clientConfig;
|
const { chatDisabled } = clientConfig;
|
||||||
const { videoAvailable } = appState;
|
const { videoAvailable } = appState;
|
||||||
const { online, streamTitle } = clientStatus;
|
const { online, streamTitle, versionNumber: version } = clientStatus;
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
setupNoLinkReferrer(layoutRef.current);
|
setupNoLinkReferrer(layoutRef.current);
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ export type FooterProps = {
|
|||||||
export const Footer: FC<FooterProps> = ({ version }) => (
|
export const Footer: FC<FooterProps> = ({ version }) => (
|
||||||
<footer className={styles.footer} id="footer">
|
<footer className={styles.footer} id="footer">
|
||||||
<span>
|
<span>
|
||||||
Powered by <a href="https://owncast.online">{version}</a>
|
Powered by <a href="https://owncast.online">Owncast v{version}</a>
|
||||||
</span>
|
</span>
|
||||||
<span className={styles.links}>
|
<span className={styles.links}>
|
||||||
<a href="https://owncast.online/docs" target="_blank" rel="noreferrer">
|
<a href="https://owncast.online/docs" target="_blank" rel="noreferrer">
|
||||||
|
|||||||
Reference in New Issue
Block a user