소스 검색

refactor: use specific symbols in import

Paul Razvan Berg 2 년 전
부모
커밋
f6da16a232
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      contracts/Greeter.sol

+ 1 - 1
contracts/Greeter.sol

@@ -1,7 +1,7 @@
 // SPDX-License-Identifier: UNLICENSED
 pragma solidity >=0.8.4;
 
-import "hardhat/console.sol";
+import { console } from "hardhat/console.sol";
 
 error GreeterError();