// Copyright 2017-2025 @pezkuwi/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import type { SessionInfo } from '../partials/types.js'; import React, { useState } from 'react'; import { Modal, TxButton } from '@pezkuwi/react-components'; import { useTranslation } from '../../translate.js'; import SessionKeyPartital from '../partials/SessionKey.js'; interface Props { controllerId: string; onClose: () => void; stashId: string; } function SetSessionKey ({ controllerId, onClose, stashId }: Props): React.ReactElement | null { const { t } = useTranslation(); const [{ sessionTx }, setTx] = useState({}); return ( ); } export default React.memo(SetSessionKey);