* 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>
6 lines
259 B
TypeScript
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';
|