update link name

This commit is contained in:
lingdocs 2022-09-13 12:02:19 +04:00
parent 5e635d0391
commit c68462bb03
2 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ if (prod) {
const possibleLandingPages = [
"/", "/about", "/settings", "/word", "/account", "/new-entries", "/share-target", "/phrase-builder",
"/privacy-policy",
"/privacy",
];
const editorOnlyPages = [
"/edit", "/review-tasks",
@ -478,7 +478,7 @@ class App extends Component<RouteComponentProps, State> {
<Route path="/about">
<About state={this.state} />
</Route>
<Route path="/privacy-policy">
<Route path="/privacy">
<PrivacyPolicy />
</Route>
<Route path="/phrase-builder">

View File

@ -38,7 +38,7 @@ const About = ({ state } : { state: State }) => (
<p>The LingDocs Pashto Dictionary assumes no responsibility or liability for any errors or omissions in
the content of this site. The information contained in this site is provided on an as is basis with
no guarantees of completeness, accuracy, usefulness or timeliness.</p>
<p><Link to="/privacy-policy">Privacy Policy</Link></p>
<p><Link to="/privacy">Privacy Policy</Link></p>
<p>© Copyright 2021 - <a href="https://www.lingdocs.com/">lingdocs.com</a></p>
{state.dictionaryInfo && <p className="text-muted">
Number of Entries: {state.dictionaryInfo.numberOfEntries} - Updated: {dayjs(state.dictionaryInfo.release).toString()}