Converting Base58 Webstorage Hash to bytes32?

Hello

I have a hash from Webstorage which is longer than 32bytes and want to pass via etherjs.utils. formatBytes32String(text)

function keepTrackOrderCreated(
        address _token,
        address _from,
        address _to,
        uint256 _orderID,
        uint256 _amount,
        bytes32 _title // here
    ) external;

Is there any way I can shorten the text to 32bytes?