javascript - TypeError: (0 , _typography.scale) is not a function -


i use project next.js , typography.

i receive error typeerror: (0, _typography.scale) not function and, unfortunately, don't understand why.

import link 'next/link' import typography, { rhythm, scale } '../utils/typography'; import colors '../utils/colors';  const headerlink = {   ...scale(-1/4),   marginright: rhythm(1),   color: colors.gunsmoke }  export default () => (   <header>       <a style={headerlink} href="/#top">home</a>   </header> ) 


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -