message: fix: Dashboard report creation error handling
diff: @@ -129,7 +129,7 @@ type ReportActionType =
  }
  | {
  type: ActionType.error;
  - payload: { name: string[] };
  + payload: { name?: string[] };
  };
  const TEXT_BASED_VISUALIZATION_TYPES = [
  @@ -175,7 +175,7 @@ const reportReducer = (
  case ActionType.error:
  return {
  ...state,
  - error: action.payload?.name[0] || defaultErrorMsg,
  + error: action.payload?.name?.[0] || defaultErrorMsg,
  };
  default:
  return state;
  