mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-10-30 05:59:48 +00:00
"Fork Locally" ran the selected chain in the browser through @acala-network/chopsticks-core, which brings its own @polkadot stack (types, rpc-provider, util-crypto 13 and 14) and @polkadot/wasm-crypto 7.5.4 with the crate versions pezkuwi-wasm 7.5.21 moved off. The app shipped that second wasm twice, next to ours, for a developer tool; chopsticks itself stays available from the command line. Gone: the button, the overlay, the "Local" mock-account modal and the chopsticks account group, the fork path in the API context, and their 69 locale strings. Mock accounts a fork left in a browser's keyring are address-only; they now show with the test accounts. yarn.lock: 32 @polkadot and 2 @acala-network entries -> 0.
39 lines
725 B
TypeScript
39 lines
725 B
TypeScript
// Copyright 2017-2026 @pezkuwi/apps authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import React from 'react';
|
|
|
|
import { styled } from '@pezkuwi/react-components';
|
|
|
|
import DotApps from './DotApps.js';
|
|
|
|
interface Props {
|
|
className?: string;
|
|
}
|
|
|
|
function Bottom ({ className }: Props): React.ReactElement<Props> | null {
|
|
return (
|
|
<StyledDiv className={className}>
|
|
<DotApps />
|
|
</StyledDiv>
|
|
);
|
|
}
|
|
|
|
const StyledDiv = styled.div`
|
|
position: fixed;
|
|
bottom: 0.75rem;
|
|
right: 0.75rem;
|
|
left: 0.75rem;
|
|
top: auto;
|
|
padding: 1rem;
|
|
z-index: 500;
|
|
display: flex;
|
|
flex-direction: column;
|
|
row-gap: 0.75rem;;
|
|
div.isInfo:before {
|
|
content: none;
|
|
}
|
|
`;
|
|
|
|
export default React.memo(Bottom);
|