Skip to content

Commit

Permalink
🚨 ci: 修正 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Jul 12, 2021
1 parent 513e07b commit 8f940b6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/i18n/src/IntlProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ import React from 'react';

import { IntlProvider as IntlProvider_ } from 'react-intl';

import type { MessageObj } from './types';

export const Intl: FC<
Omit<ComponentProps<typeof IntlProvider_>, 'messages'> & {
messages: MessageObj;
messages: Record<string, string>;
}
> = (props) => <IntlProvider_ {...props} />;

1 comment on commit 8f940b6

@vercel
Copy link

@vercel vercel bot commented on 8f940b6 Jul 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.