Преглед изворни кода

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
 // SPDX-License-Identifier: UNLICENSED
 pragma solidity >=0.8.4;
 pragma solidity >=0.8.4;
 
 
-import "hardhat/console.sol";
+import { console } from "hardhat/console.sol";
 
 
 error GreeterError();
 error GreeterError();