We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee35c6e commit 17e6d94Copy full SHA for 17e6d94
src/components/SnackPlayer/index.tsx
@@ -27,12 +27,8 @@ export default function SnackPlayer(params: SnackPlayerProps): JSX.Element {
27
JSON.stringify({
28
[filename]: {
29
type: 'CODE',
30
- contents: `import './polyfills';// temporary fixes for snack error\n${params.children}`,
+ contents: params.children,
31
},
32
- 'polyfills.js': {
33
- type: 'CODE',
34
- contents: `global.__reanimatedWorkletInit = function () {};export default {}`,
35
- }
36
})
37
);
38
const dependencies = params.dependencies || defaultDependencies.join(',');
0 commit comments