fix: typo on require statement (WithLocalSvg) (#2223)

This PR fixes typo on require statement.
It makes WithLocalSvg function as expected without crash.
This commit is contained in:
Min
2024-02-26 17:18:27 +09:00
committed by GitHub
parent e06f5879a1
commit e6b2cc6496
+1 -1
View File
@@ -26,7 +26,7 @@ export async function loadAndroidRawResource(uri: string) {
const RNSVGRenderableModule: any =
// neeeded for new arch
// eslint-disable-next-line @typescript-eslint/no-var-requires
require('./fabric/NativeSvgRenderableModule').default;
require('../fabric/NativeSvgRenderableModule').default;
return await RNSVGRenderableModule.getRawResource(uri);
} catch (e) {
console.error(