import { OrderBookOrderDTO } from '@energyweb/exchange-irec-react-query-client' ; import { UserDTO } from '@energyweb/origin-backend-react-query-client' ; export const getOwnedOrderStyles = ( orders , userId , className ) => { return ( id ) => { const order = orders . find ( ( order ) => order . id === id ) ; if ( userId && order . userId === userId . toString ( ) ) return className ; } ; } ;