diff --git a/src/index.js b/src/index.js index 9e94b06..b33ca49 100644 --- a/src/index.js +++ b/src/index.js @@ -77,7 +77,7 @@ export const styled = new Proxy(makeStyled, { }) export function createGlobalStyles() { - const fn = styled.call({ g: 1 }, "div").apply(null, arguments); + const fn = makeStyled.call({ g: 1 }, "div").apply(null, arguments); return function GlobalStyles(props) { fn(props); return null;