mirror of
https://github.com/strapi/strapi.git
synced 2025-12-18 10:43:56 +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 Upload from '@strapi/icons/Upload';
|
||||||
import { useTracking } from '@strapi/helper-plugin';
|
import { useTracking } from '@strapi/helper-plugin';
|
||||||
|
|
||||||
const MarketplacePageHeader = () => {
|
const PageHeader = () => {
|
||||||
const { formatMessage } = useIntl();
|
const { formatMessage } = useIntl();
|
||||||
const { trackUsage } = useTracking();
|
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 PluginCard from './components/PluginCard';
|
||||||
import { EmptyPluginSearch } from './components/EmptyPluginSearch';
|
import { EmptyPluginSearch } from './components/EmptyPluginSearch';
|
||||||
import MarketplacePageHeader from './components/MarketplacePageHeader';
|
import PageHeader from './components/PageHeader';
|
||||||
import { fetchAppInformation } from './utils/api';
|
import { fetchAppInformation } from './utils/api';
|
||||||
import useFetchInstalledPlugins from '../../hooks/useFetchInstalledPlugins';
|
import useFetchInstalledPlugins from '../../hooks/useFetchInstalledPlugins';
|
||||||
import useFetchMarketplacePlugins from '../../hooks/useFetchMarketplacePlugins';
|
import useFetchMarketplacePlugins from '../../hooks/useFetchMarketplacePlugins';
|
||||||
@ -123,7 +123,7 @@ const MarketPlacePage = () => {
|
|||||||
if (!isOnline) {
|
if (!isOnline) {
|
||||||
return (
|
return (
|
||||||
<Layout>
|
<Layout>
|
||||||
<MarketplacePageHeader />
|
<PageHeader />
|
||||||
<Flex
|
<Flex
|
||||||
width="100%"
|
width="100%"
|
||||||
direction="column"
|
direction="column"
|
||||||
@ -187,7 +187,7 @@ const MarketPlacePage = () => {
|
|||||||
defaultMessage: 'Marketplace - Plugins',
|
defaultMessage: 'Marketplace - Plugins',
|
||||||
})}
|
})}
|
||||||
/>
|
/>
|
||||||
<MarketplacePageHeader />
|
<PageHeader />
|
||||||
<ContentLayout>
|
<ContentLayout>
|
||||||
<Box width="25%" paddingBottom={4}>
|
<Box width="25%" paddingBottom={4}>
|
||||||
<Searchbar
|
<Searchbar
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user