Skip to content

Commit

Permalink
fix(fias): warning throw exeption
Browse files Browse the repository at this point in the history
  • Loading branch information
v_sorokin committed Feb 21, 2020
1 parent 1d63ae9 commit bb5aa2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-ui/components/Fias/Fias.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export class Fias extends React.Component<FiasProps, FiasState> {
public constructor(props: FiasProps) {
super(props);
warning(
true,
`Fias has been deprecated, use Fias from @skbkontur/react-ui-addons instead, see [migration](https://github.com/skbkontur/retail-ui/blob/master/MIGRATION.md)`,
);
if (!props.baseUrl && !props.api) {
Expand Down

0 comments on commit bb5aa2c

Please sign in to comment.