diff --git a/cypress.json b/cypress.json index 8cff983..ef8eade 100644 --- a/cypress.json +++ b/cypress.json @@ -1,5 +1,5 @@ { - "baseUrl": "http://127.0.0.1:3000", + "baseUrl": "http://127.0.0.1:5000", "fixturesFolder": "tests/e2e/fixtures", "integrationFolder": "tests/e2e/integration", "pluginsFile": "tests/e2e/plugins/index.ts", diff --git a/index.html b/index.html index 256b137..d7a2fe1 100644 --- a/index.html +++ b/index.html @@ -5,8 +5,6 @@ Cosmos - - diff --git a/src/App.tsx b/src/App.tsx index aceb84c..ec3e623 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -18,10 +18,10 @@ export const NotFound = () => { const App = () => { return ( <> - + - +
diff --git a/src/index.tsx b/src/index.tsx index 53e2b34..d0ae187 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2,4 +2,4 @@ import React from 'react'; import ReactDOM from 'react-dom'; import App from '~/App'; -ReactDOM.render(, document.getElementById('app')); +ReactDOM.render(, document.getElementById('app')); diff --git a/src/twin.d.ts b/src/twin.d.ts index b6bc52b..0c21141 100644 --- a/src/twin.d.ts +++ b/src/twin.d.ts @@ -3,23 +3,20 @@ import styledImport, { CSSProp, css as cssImport } from 'styled-components'; import 'twin.macro'; declare module 'react' { - // The css prop interface HTMLAttributes extends DOMAttributes { css?: CSSProp } - // The inline svg css prop + interface SVGProps extends SVGProps { css?: CSSProp } } declare module 'twin.macro' { - // The styled and css imports const styled: typeof styledImport const css: typeof cssImport } -// The 'as' prop on styled components declare global { namespace JSX { // @ts-ignore diff --git a/tsconfig.json b/tsconfig.json index 360ebfb..3fa9d13 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -27,5 +27,5 @@ }, }, - "include": ["./src/**/*.ts", "./src/**/*.d.ts", "./src/**/*.tsx" ] + "include": [ "./src/**/*.ts", "./src/**/*.d.ts", "./src/**/*.tsx" ] }