2021-11-13 14:30:16 +01:00
|
|
|
import React from 'react';
|
2024-04-03 20:55:53 +02:00
|
|
|
import { EmptyStateLayout } from '@strapi/design-system';
|
2023-10-11 20:46:51 +02:00
|
|
|
import { useIntl } from 'react-intl';
|
2024-05-08 15:58:30 +02:00
|
|
|
import { EmptyDocuments } from '@strapi/icons';
|
2021-11-13 14:30:16 +01:00
|
|
|
|
2023-10-11 20:46:51 +02:00
|
|
|
const NoChanges = () => {
|
|
|
|
const { formatMessage } = useIntl();
|
|
|
|
return (
|
2024-04-03 20:55:53 +02:00
|
|
|
<EmptyStateLayout
|
2024-05-08 15:58:30 +02:00
|
|
|
content={formatMessage({ id: 'config-sync.NoChanges.Message', defaultMessage: 'No differences between DB and sync directory. You are up-to-date!' })}
|
|
|
|
icon={<EmptyDocuments width={160} />}
|
2023-10-11 20:46:51 +02:00
|
|
|
/>
|
|
|
|
);
|
|
|
|
};
|
2021-11-13 14:30:16 +01:00
|
|
|
|
|
|
|
export default NoChanges;
|