message: feat(exchange-ui-core): hide buy button for inactive user
diff: @@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react';
  import { useSelector } from 'react-redux';
  import { Formik, Form } from 'formik';
  import { TableCell, Button, InputAdornment, Grid } from '@material-ui/core';
  -import { IDevice } from '@energyweb/origin-backend-core';
  +import { IDevice, UserStatus } from '@energyweb/origin-backend-core';
  import {
  getOffChainDataSource,
  getEnvironment,
  @@ -150,6 +150,8 @@ export function Asks(props: Props) {
  </Grid>
  )}
  <Grid item xs={3}>
  + {user?.status ===
  + UserStatus.Active && (
  <Button
  onClick={() => {
  if (buyDirectExpanded) {
  @@ -177,6 +179,7 @@ export function Asks(props: Props) {
  >
  {t('exchange.actions.buy')}
  </Button>
  + )}
  </Grid>
  </Grid>
  {buyDirectExpanded && isValid && (
  