import React from 'react';
import getTheme from '../src/theme';
import TamiaProvider from '../src/components/TamiaProvider';

const theme = getTheme();

const Provider = ({ children }) => (
	<>
		<TamiaProvider theme={theme}>{children}</TamiaProvider>
	</>
);

export default Provider;

import React from 'react';
import getTheme from '../src/theme';
import TamiaRoot from '../src/components/TamiaRoot';

const theme = getTheme();

const Provider = ({ children }) => (
	<TamiaRoot theme={theme}>{children}</TamiaRoot>
);

export default Provider;

Fix the style guide