• Robert Knight's avatar
    Fix prop typechecking for `TopBar` component · 1a447624
    Robert Knight authored
    The type of the `props` argument to `TopBar` was not specified, so its
    props were not type-checked. Specifying a type for `props` turned up
    several mistakes in other types.
    
     - Specify the type of the `props` object so that the props are actually
       type-checked
     - Add missing `status` field to `AuthState` type
     - Correctly set the optionality of various props
    1a447624
TopBar.js 5.14 KB