fix: fix banner image import path (#14)
This commit is contained in:
parent
734c84579b
commit
e54276aa68
@ -7,7 +7,7 @@ import { Camera, CameraPermissionStatus } from 'react-native-vision-camera';
|
|||||||
import { CONTENT_SPACING, SAFE_AREA_PADDING } from './Constants';
|
import { CONTENT_SPACING, SAFE_AREA_PADDING } from './Constants';
|
||||||
|
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
const BANNER_IMAGE = require('../docs/static/img/11.png') as ImageRequireSource;
|
const BANNER_IMAGE = require('../../docs/static/img/11.png') as ImageRequireSource;
|
||||||
|
|
||||||
export const Splash: NavigationFunctionComponent = ({ componentId }) => {
|
export const Splash: NavigationFunctionComponent = ({ componentId }) => {
|
||||||
const [cameraPermissionStatus, setCameraPermissionStatus] = useState<CameraPermissionStatus>('not-determined');
|
const [cameraPermissionStatus, setCameraPermissionStatus] = useState<CameraPermissionStatus>('not-determined');
|
||||||
|
Loading…
Reference in New Issue
Block a user