mirror of
https://github.com/strapi/strapi.git
synced 2025-12-12 23:44:08 +00:00
rename component
This commit is contained in:
parent
4d90bd850a
commit
fc59c6e2ea
@ -5,7 +5,7 @@ import { LinkButton } from '@strapi/design-system/LinkButton';
|
||||
import Upload from '@strapi/icons/Upload';
|
||||
import { useTracking } from '@strapi/helper-plugin';
|
||||
|
||||
const MarketplacePageHeader = () => {
|
||||
const PageHeader = () => {
|
||||
const { formatMessage } = useIntl();
|
||||
const { trackUsage } = useTracking();
|
||||
|
||||
@ -36,4 +36,4 @@ const MarketplacePageHeader = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default MarketplacePageHeader;
|
||||
export default PageHeader;
|
||||
@ -23,7 +23,7 @@ import { Flex } from '@strapi/design-system/Flex';
|
||||
|
||||
import PluginCard from './components/PluginCard';
|
||||
import { EmptyPluginSearch } from './components/EmptyPluginSearch';
|
||||
import MarketplacePageHeader from './components/MarketplacePageHeader';
|
||||
import PageHeader from './components/PageHeader';
|
||||
import { fetchAppInformation } from './utils/api';
|
||||
import useFetchInstalledPlugins from '../../hooks/useFetchInstalledPlugins';
|
||||
import useFetchMarketplacePlugins from '../../hooks/useFetchMarketplacePlugins';
|
||||
@ -123,7 +123,7 @@ const MarketPlacePage = () => {
|
||||
if (!isOnline) {
|
||||
return (
|
||||
<Layout>
|
||||
<MarketplacePageHeader />
|
||||
<PageHeader />
|
||||
<Flex
|
||||
width="100%"
|
||||
direction="column"
|
||||
@ -187,7 +187,7 @@ const MarketPlacePage = () => {
|
||||
defaultMessage: 'Marketplace - Plugins',
|
||||
})}
|
||||
/>
|
||||
<MarketplacePageHeader />
|
||||
<PageHeader />
|
||||
<ContentLayout>
|
||||
<Box width="25%" paddingBottom={4}>
|
||||
<Searchbar
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user