Convert Wei to Eth using React and Moralis

How would I convert Wei to Eth using Moralis and React? I know there is a Web3 utility to do it. But, I have not figured it out yet while using React.

Thanks

You can just keep using the same utility functions built into Moralis.

https://docs.moralis.io/moralis-dapp/tools/moralis-units

In addition to what glad has mentioned, you can also divide Wei by 1e18 to convert the wei to eth. It eases the process.

18 is because the eth has 18 decimal places.