// Copyright 2017-2025 @polkadot/app-staking authors & contributors // SPDX-License-Identifier: Apache-2.0 import React from 'react'; import { Icon, styled } from '@polkadot/react-components'; interface Props { children?: React.ReactNode; className?: string; withIcon?: boolean; } function MarkPoolsWarning ({ children, className = '', withIcon = true }: Props): React.ReactElement { return ( {withIcon && } Nomination Pools have evolved!

You can now participate in both a nomination pool and OpenGov using your pooled funds!

However, if you're staking solo from the same account while being part of a nomination pool, you might encounter the NotMigrated error.
To resolve this, please refer to{' '} this article for the necessary steps to take. {children}
); } const StyledArticle = styled.article` .ui--Icon { color: rgba(255, 196, 12, 1); margin-right: 0.5rem; } `; export default React.memo(MarkPoolsWarning);