Skip to content

Commit

Permalink
Merge pull request #6454 from Expensify/cmartins-removeOnfidoDiv
Browse files Browse the repository at this point in the history
Remove div usage in Onfido Web
  • Loading branch information
luacmartins authored Nov 24, 2021
2 parents cc78af2 + 5f72865 commit 654740a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Onfido/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import './index.css';
import lodashGet from 'lodash/get';
import React from 'react';
import {View} from 'react-native';
import * as OnfidoSDK from 'onfido-sdk-ui';
import withLocalize, {withLocalizePropTypes} from '../withLocalize';
import onfidoPropTypes from './onfidoPropTypes';
Expand Down Expand Up @@ -103,7 +104,7 @@ class Onfido extends React.Component {

render() {
return (
<div id={CONST.ONFIDO.CONTAINER_ID} />
<View nativeID={CONST.ONFIDO.CONTAINER_ID} />
);
}
}
Expand Down

0 comments on commit 654740a

Please sign in to comment.