remove deprecated syntax, add error handling for react-live preview
remove deprecated syntax, add error handling for react-live preview

styled-components/styled-components-website,styled-components/styled-components-website