Skip to content

Commit 17e6d94

Browse files
committed
fix: remove tmp code
1 parent ee35c6e commit 17e6d94

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/SnackPlayer/index.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,8 @@ export default function SnackPlayer(params: SnackPlayerProps): JSX.Element {
2727
JSON.stringify({
2828
[filename]: {
2929
type: 'CODE',
30-
contents: `import './polyfills';// temporary fixes for snack error\n${params.children}`,
30+
contents: params.children,
3131
},
32-
'polyfills.js': {
33-
type: 'CODE',
34-
contents: `global.__reanimatedWorkletInit = function () {};export default {}`,
35-
}
3632
})
3733
);
3834
const dependencies = params.dependencies || defaultDependencies.join(',');

0 commit comments

Comments
 (0)