Skip to content

Commit 4c79a8e

Browse files
committed
fix: cloud format
1 parent f52c2e6 commit 4c79a8e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • src/pages/options/sections/import-and-export/cloud

src/pages/options/sections/import-and-export/cloud/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ import { Button, Modal, Tag, Toast } from '@douyinfe/semi-ui';
33
import { css } from '@emotion/css';
44
import dayjs from 'dayjs';
55
import * as React from 'react';
6+
import localizedFormat from 'dayjs/plugin/localizedFormat';
67
import Api from '@/share/pages/api';
78
import browserSync from '@/share/pages/browser-sync';
89
import { createExport } from '@/share/core/rule-utils';
910
import { t } from '@/share/core/utils';
1011
import type { BasicRule } from '@/share/core/types';
1112

13+
dayjs.extend(localizedFormat);
14+
1215
interface CloudProps {
1316
visible: boolean;
1417
onClose: () => void;

0 commit comments

Comments
 (0)