Explorar el Código

refactor: use specific symbols in import

Paul Razvan Berg hace 2 años
padre
commit
f6da16a232
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();