diff --git a/packages/core/admin/admin/src/pages/InternalErrorPage.tsx b/packages/core/admin/admin/src/pages/InternalErrorPage.tsx index 5ab2ef840a..a74a1cfc73 100644 --- a/packages/core/admin/admin/src/pages/InternalErrorPage.tsx +++ b/packages/core/admin/admin/src/pages/InternalErrorPage.tsx @@ -5,7 +5,8 @@ * */ -import { ContentLayout, EmptyStateLayout, HeaderLayout, LinkButton } from '@strapi/design-system'; +import { ContentLayout, EmptyStateLayout, HeaderLayout } from '@strapi/design-system'; +import { LinkButton } from '@strapi/design-system/v2'; import { ArrowRight, EmptyPictures } from '@strapi/icons'; import { useIntl } from 'react-intl'; @@ -26,7 +27,7 @@ export const InternalErrorPage = () => { } to="/"> + } href="/"> {formatMessage({ id: 'app.components.NotFoundPage.back', defaultMessage: 'Back to homepage', diff --git a/packages/core/admin/admin/src/pages/NotFoundPage.tsx b/packages/core/admin/admin/src/pages/NotFoundPage.tsx index 9bf7214327..09c2d3540d 100644 --- a/packages/core/admin/admin/src/pages/NotFoundPage.tsx +++ b/packages/core/admin/admin/src/pages/NotFoundPage.tsx @@ -4,7 +4,8 @@ * This is the page we show when the user visits a url that doesn't have a route * */ -import { ContentLayout, EmptyStateLayout, HeaderLayout, LinkButton } from '@strapi/design-system'; +import { ContentLayout, EmptyStateLayout, HeaderLayout } from '@strapi/design-system'; +import { LinkButton } from '@strapi/design-system/v2'; import { ArrowRight, EmptyPictures } from '@strapi/icons'; import { useIntl } from 'react-intl'; @@ -25,7 +26,7 @@ export const NotFoundPage = () => { } to="/"> + } href="/"> {formatMessage({ id: 'app.components.NotFoundPage.back', defaultMessage: 'Back to homepage', diff --git a/packages/core/admin/admin/src/pages/Settings/pages/ApiTokens/ListView.tsx b/packages/core/admin/admin/src/pages/Settings/pages/ApiTokens/ListView.tsx index ff3fffd74d..2db0a46915 100644 --- a/packages/core/admin/admin/src/pages/Settings/pages/ApiTokens/ListView.tsx +++ b/packages/core/admin/admin/src/pages/Settings/pages/ApiTokens/ListView.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; -import { ContentLayout, EmptyStateLayout, HeaderLayout, LinkButton } from '@strapi/design-system'; +import { ContentLayout, EmptyStateLayout, HeaderLayout } from '@strapi/design-system'; +import { LinkButton } from '@strapi/design-system/v2'; import { EmptyDocuments, Plus } from '@strapi/icons'; import { Data } from '@strapi/types'; import * as qs from 'qs'; @@ -154,7 +155,7 @@ export const ListView = () => { tokenType: API_TOKEN_TYPE, }) } - to="/settings/api-tokens/create" + href="/settings/api-tokens/create" > {formatMessage({ id: 'Settings.apiTokens.create', @@ -190,7 +191,7 @@ export const ListView = () => { } - to="/settings/api-tokens/create" + href="/settings/api-tokens/create" > {formatMessage({ id: 'Settings.apiTokens.addNewToken', diff --git a/packages/core/admin/admin/src/pages/Settings/pages/TransferTokens/ListView.tsx b/packages/core/admin/admin/src/pages/Settings/pages/TransferTokens/ListView.tsx index 885eb3dc5d..d8662fa354 100644 --- a/packages/core/admin/admin/src/pages/Settings/pages/TransferTokens/ListView.tsx +++ b/packages/core/admin/admin/src/pages/Settings/pages/TransferTokens/ListView.tsx @@ -1,6 +1,7 @@ import * as React from 'react'; -import { ContentLayout, EmptyStateLayout, HeaderLayout, LinkButton } from '@strapi/design-system'; +import { ContentLayout, EmptyStateLayout, HeaderLayout } from '@strapi/design-system'; +import { LinkButton } from '@strapi/design-system/v2'; import { EmptyDocuments, Plus } from '@strapi/icons'; import { Data } from '@strapi/types'; import * as qs from 'qs'; @@ -167,7 +168,7 @@ const ListView = () => { tokenType: TRANSFER_TOKEN_TYPE, }) } - to="/settings/transfer-tokens/create" + href="/settings/transfer-tokens/create" > {formatMessage({ id: 'Settings.transferTokens.create', @@ -198,7 +199,7 @@ const ListView = () => { } - to="/settings/transfer-tokens/create" + href="/settings/transfer-tokens/create" > {formatMessage({ id: 'Settings.transferTokens.addNewToken', diff --git a/packages/core/content-type-builder/admin/src/components/AttributeOptions/EmptyAttributes.tsx b/packages/core/content-type-builder/admin/src/components/AttributeOptions/EmptyAttributes.tsx index 1c0833d007..93fa87d9ca 100644 --- a/packages/core/content-type-builder/admin/src/components/AttributeOptions/EmptyAttributes.tsx +++ b/packages/core/content-type-builder/admin/src/components/AttributeOptions/EmptyAttributes.tsx @@ -1,4 +1,5 @@ -import { Box, Flex, Icon, LinkButton, Typography } from '@strapi/design-system'; +import { Box, Flex, Icon, Typography } from '@strapi/design-system'; +import { LinkButton } from '@strapi/design-system/v2'; import { EmptyDocuments, Plus } from '@strapi/icons'; import * as qs from 'qs'; import { useIntl } from 'react-intl'; @@ -59,7 +60,7 @@ export const EmptyAttributes = () => { } >