message: refactor: use null coalescing
diff: @@ -153,7 +153,7 @@ const StyledMenuItem = forwardRef<StyledMenuItemProps, "button">(
  // given another component, use its type if present
  // else, use no type to avoid invalid html, e.g. <a type="button" />
  // else, fall back to "button"
  - const type = props.as ? (props.type ? props.type : undefined) : "button"
  + const type = props.as ? props.type ?? undefined : "button"
  return (
  <chakra.button
  