• 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
UserMenu.js 3.81 KB