mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-05-31 19:11:04 +00:00
Convert all to named imports (#414)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
// Copyright 2017-2020 @polkadot/ui-keyring authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
|
||||
const subject = new BehaviorSubject(false);
|
||||
|
||||
export const env = {
|
||||
isDevelopment: (): boolean =>
|
||||
subject.getValue(),
|
||||
set: (isDevelopment: boolean): void => {
|
||||
subject.next(isDevelopment);
|
||||
},
|
||||
subject
|
||||
};
|
||||
Reference in New Issue
Block a user