Adjust punycode import (#5901)

This commit is contained in:
Jaco 2021-08-01 09:02:38 +03:00 committed by GitHub
parent d33dd338ac
commit bbf1801d95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,8 +5,7 @@ import type { LinkOption } from '@polkadot/apps-config/endpoints/types';
import type { Group } from './types';
// ok, this seems to be an eslint bug, this _is_ a package import
/* eslint-disable-next-line node/no-deprecated-api */
import punycode from 'punycode';
import punycode from 'punycode/';
import React, { useCallback, useMemo, useState } from 'react';
import store from 'store';
import styled from 'styled-components';