Explorar o código

added date fns format in share link setting

ryuichi-e %!s(int64=5) %!d(string=hai) anos
pai
achega
53e1ce1793

+ 1 - 0
src/client/js/components/Admin/Security/ShareLinkSetting.jsx

@@ -1,6 +1,7 @@
 import React, { Fragment } from 'react';
 import React, { Fragment } from 'react';
 import PropTypes from 'prop-types';
 import PropTypes from 'prop-types';
 import { withTranslation } from 'react-i18next';
 import { withTranslation } from 'react-i18next';
+import dateFnsFormat from 'date-fns/format';
 
 
 import { withUnstatedContainers } from '../../UnstatedUtils';
 import { withUnstatedContainers } from '../../UnstatedUtils';
 import { toastSuccess, toastError } from '../../../util/apiNotification';
 import { toastSuccess, toastError } from '../../../util/apiNotification';