Skip to content

Commit

Permalink
fix(ci): test and build site fail
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Sep 6, 2023
1 parent 1331fba commit b50dcfb
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .dumi/pages/index/components/SiteContext.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from 'react';
import React from 'react';

export interface SiteContextProps {
isMobile: boolean;
Expand Down
2 changes: 1 addition & 1 deletion .dumi/theme/slots/SiteContext.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from 'react';
import React from 'react';
import type { DirectionType } from '@oceanbase/design/es/config-provider';
import type { ThemeName } from '../common/ThemeSwitch';

Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/Ranger/__test__/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';
import '@testing-library/jest-dom/extend-expect';
import { cleanup, fireEvent, render } from '@testing-library/react';
import MockDate from 'mockdate';
import moment from 'moment';
Expand Down
20 changes: 10 additions & 10 deletions packages/ui/src/TagSelect/TagSelectContext.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import {createContext} from 'react';
import type {TagSelectValueType} from './Group';
import { createContext } from 'react';
import type { TagSelectValueType } from './Group';

export type TagSelectContextProps = {
multiple?: boolean;
size?: string;
disabled?: boolean,
value?: Array<TagSelectValueType>;
onChange?: (value: Array<TagSelectValueType> | TagSelectValueType) => void;
registerValue?: (val: TagSelectValueType) => void;
handleValueChange?: (val: TagSelectValueType) => void;
multiple?: boolean;
size?: string;
disabled?: boolean;
value?: Array<TagSelectValueType>;
onChange?: (value: Array<TagSelectValueType> | TagSelectValueType) => void;
registerValue?: (val: TagSelectValueType) => void;
handleValueChange?: (val: TagSelectValueType) => void;
};

const TagSelectContext = createContext<TagSelectContextProps>({});

export default TagSelectContext;
export default TagSelectContext;

0 comments on commit b50dcfb

Please sign in to comment.