ghost-portal/packages/apps-config/src/settings/index.ts
Thibaut Sardan 764b244a74
Allow saving custom endpoints (#3410)
* save button

* save/restore

* prevent saving twice

* useMemo rather than useEffect + useState

* delete feature

* set constant in app settings

* use ternary instead

* rework the save behavior

Co-authored-by: Jaco Greeff <jacogr@gmail.com>
2020-08-14 14:26:18 +02:00

16 lines
455 B
TypeScript

// Copyright 2017-2020 @polkadot/apps-config authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import createEndpoints from './endpoints';
import createLanguages from './languages';
import createSs58 from './ss58';
import { CUSTOM_ENDPOINT_KEY } from './constants';
export {
createEndpoints,
createLanguages,
createSs58,
CUSTOM_ENDPOINT_KEY
};