thunderhub/pages/settings.tsx
Anthony Potdevin 009195c86f
feat: stats view (#54)
* feat:  channel stats

* chore: 🔧 add node resolver

* chore: 🔧 add monitored time

* chore: 🔧 and queries to front

* fix: 🐛 floats to ints

* chore: 🔧 add progress bars

* chore: 🔧 add channel resolver

* chore: 🔧 refactor forwards frontend

* refactor: ♻️ channel resolvers

* chore: 🔧 refactor channel queries

* refactor: ♻️ peer resolver

* refactor: ♻️ peer query

* fix: 🐛 small changes

* fix: 🐛 typo

* chore: 🔧 stats view wip

* chore: 🔧 add update script

* chore: 🔧 improve ui

* chore: 🔧 move buttons

* fix: 🐛 home path

* chore: 🔧 add public key to node resolver

* refactor: ♻️ resume resolver

* chore: 🔧 remove test account

* chore: 🔧 change logger for lnpay

* feat:  github version

Co-authored-by: apotdevin <apotdevincab@gmail.com>
2020-06-05 18:50:10 +02:00

43 lines
1.2 KiB
TypeScript

import React from 'react';
import styled from 'styled-components';
import { GridWrapper } from 'src/components/gridWrapper/GridWrapper';
import { withApollo } from 'config/client';
import { SingleLine } from '../src/components/generic/Styled';
import { InterfaceSettings } from '../src/views/settings/Interface';
import { AccountSettings } from '../src/views/settings/Account';
import { DangerView } from '../src/views/settings/Danger';
import { CurrentSettings } from '../src/views/settings/Current';
import { SyncSettings } from '../src/views/settings/Sync';
import { ChatSettings } from '../src/views/settings/Chat';
import { PrivacySettings } from '../src/views/settings/Privacy';
export const ButtonRow = styled.div`
width: auto;
display: flex;
`;
export const SettingsLine = styled(SingleLine)`
margin: 8px 0;
`;
const SettingsView = () => {
return (
<>
<InterfaceSettings />
<PrivacySettings />
<ChatSettings />
<SyncSettings />
<CurrentSettings />
<AccountSettings />
<DangerView />
</>
);
};
const Wrapped = () => (
<GridWrapper noNavigation={true}>
<SettingsView />
</GridWrapper>
);
export default withApollo(Wrapped);