mirror of
https://github.com/pezkuwichain/pezkuwi-apps.git
synced 2026-06-12 18:11:11 +00:00
fix: fix lint errors and update headers
This commit is contained in:
@@ -23,7 +23,7 @@ interface Props {
|
||||
relayName: RelayName,
|
||||
}
|
||||
|
||||
function Summary ({ config, teyrchainCount, relayName, status }: Props): React.ReactElement<Props> {
|
||||
function Summary ({ config, relayName, status, teyrchainCount }: Props): React.ReactElement<Props> {
|
||||
const { t } = useTranslation();
|
||||
const { coretimeInfo, currentRegionEnd, currentRegionStart, saleEndDate, saleStartDate } = useCoretimeContext();
|
||||
|
||||
|
||||
@@ -22,11 +22,11 @@ function Overview ({ className, relayName }: Props): React.ReactElement<Props> {
|
||||
{coretimeInfo && (
|
||||
<Summary
|
||||
config={coretimeInfo?.config}
|
||||
teyrchainCount={coretimeInfo.taskIds?.length || 0}
|
||||
region={coretimeInfo?.region}
|
||||
relayName={relayName}
|
||||
saleInfo={coretimeInfo?.salesInfo}
|
||||
status={coretimeInfo?.status}
|
||||
teyrchainCount={coretimeInfo.taskIds?.length || 0}
|
||||
/>
|
||||
)}
|
||||
{!!coretimeInfo &&
|
||||
|
||||
Reference in New Issue
Block a user