refactor: remove change notes link

Release note publishing is currently in flux. As such, there is no
determinate location to link to.
This commit is contained in:
Arthur E. Jones 2022-07-20 11:25:55 -05:00 committed by James Long
parent 0ab294b50e
commit c171597c7b

View file

@ -4,7 +4,7 @@ import { createBrowserHistory } from 'history';
import { Switch, Redirect, Router, Route } from 'react-router-dom'; import { Switch, Redirect, Router, Route } from 'react-router-dom';
import { send } from 'loot-core/src/platform/client/fetch'; import { send } from 'loot-core/src/platform/client/fetch';
import * as actions from 'loot-core/src/client/actions'; import * as actions from 'loot-core/src/client/actions';
import { View, ExternalLink, Button } from 'loot-design/src/components/common'; import { View, Text } from 'loot-design/src/components/common';
import { colors } from 'loot-design/src/style'; import { colors } from 'loot-design/src/style';
import ServerURL from './ServerURL'; import ServerURL from './ServerURL';
import LoggedInUser from '../LoggedInUser'; import LoggedInUser from '../LoggedInUser';
@ -16,13 +16,13 @@ import Bootstrap from './subscribe/Bootstrap';
import Error from './subscribe/Error'; import Error from './subscribe/Error';
import ChangePassword from './subscribe/ChangePassword'; import ChangePassword from './subscribe/ChangePassword';
import ConfigServer from './ConfigServer'; import ConfigServer from './ConfigServer';
import useServerVersion from '../../hooks/useServerVersion' import useServerVersion from '../../hooks/useServerVersion';
function Version() { function Version() {
const version = useServerVersion(); const version = useServerVersion();
return ( return (
<ExternalLink <Text
style={{ style={{
position: 'absolute', position: 'absolute',
bottom: 0, bottom: 0,
@ -36,7 +36,7 @@ function Version() {
href={'https://actualbudget.com/blog/' + window.Actual.ACTUAL_VERSION} href={'https://actualbudget.com/blog/' + window.Actual.ACTUAL_VERSION}
> >
{`App: v${window.Actual.ACTUAL_VERSION} | Server: ${version}`} {`App: v${window.Actual.ACTUAL_VERSION} | Server: ${version}`}
</ExternalLink> </Text>
); );
} }