Merge branch 'Mastermindzh:master' into master

This commit is contained in:
Rick van Lieshout 2022-07-25 11:20:50 +02:00 committed by GitHub
commit ca0f973d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ export const Navbar: FunctionComponent<{}> = () => {
To add a value to the runtime config you have to take 2 steps:
1. Add a type to the `RuntimeConfig` type in [src/infrastructure/config/RunTimeConfig.ts](./src/infrastructure/config/RunTimeConfig.ts)
1. Add a type to the `RuntimeConfig` type in [src/infrastructure/config/RunTimeConfig.ts](./src/config/RunTimeConfig.ts)
```tsx
type RunTimeConfig = {

View File

@ -2,7 +2,7 @@ import { DateTime } from "luxon";
import { FunctionComponent } from "react";
import { Trans, useTranslation } from "react-i18next";
import { Link } from "react-router-dom";
import { Config } from "../../config";
import { Config } from "../config";
import "./Navbar.css";
type Props = {};

View File

@ -1,4 +1,4 @@
import { RunTimeConfig } from "./../config/RunTimeConfig";
import { RunTimeConfig } from "../infrastructure/config/RunTimeConfig";
declare global {
interface Window {