chore(settings): add dummy element for index

This commit is contained in:
Paul
2021-12-20 21:07:20 +00:00
parent 6e4c4f3ae2
commit 9415c2b5d8
3 changed files with 8 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ import {
} from "@styled-icons/boxicons-solid";
import { Route, Switch, useHistory } from "react-router-dom";
import { LIBRARY_VERSION } from "revolt.js";
import styled from "styled-components";
import styles from "./Settings.module.scss";
import { Text } from "preact-i18n";
@@ -53,6 +54,8 @@ import { Sessions } from "./panes/Sessions";
import { Sync } from "./panes/Sync";
import { ThemeShop } from "./panes/ThemeShop";
const IndexHeader = styled.div``;
export default function Settings() {
const history = useHistory();
const client = useContext(AppContext);
@@ -258,6 +261,7 @@ export default function Settings() {
</div>
</>
}
indexHeader={<IndexHeader>{/**/}</IndexHeader>}
/>
);
}