Skip to content

Commit

Permalink
chore: fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
xliez committed Jan 30, 2023
1 parent 5b5cd0f commit bbd8c96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/config-provider/__tests__/useConfig.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { render } from '../../../tests/utils';

describe('ConfigProvider.useConfig', () => {
it('useConfig - componentSize', () => {
let size: string | undefined = undefined;
let size;

const App: React.FC = () => {
const { componentSize } = ConfigProvider.useConfig();
Expand All @@ -24,7 +24,7 @@ describe('ConfigProvider.useConfig', () => {
});

it('useConfig - componentDisabled', () => {
let disabled: boolean | undefined = undefined;
let disabled;
const App: React.FC = () => {
const { componentDisabled } = ConfigProvider.useConfig();
disabled = componentDisabled;
Expand Down

0 comments on commit bbd8c96

Please sign in to comment.