Adjust punycode import (#5901)
This commit is contained in:
parent
d33dd338ac
commit
bbf1801d95
@ -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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user