ghost-portal/packages/apps-config/src/settings/constants.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

6 lines
259 B
TypeScript

// Copyright 2017-2020 @polkadot/apps authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export const CUSTOM_ENDPOINT_KEY = 'polkadot-app-custom-endpoints';