Использование Shortid в списках реагирования

import shortid from "shortid";

export const NavArray = [
  {
    to: "/Women",
    text: "1",
    id: shortid.generate()
  },
  {
    to: "/Women",
    text: "2",
    id: shortid.generate()
  },
  {
    to: "/Women",
    text: "3",
    id: shortid.generate()
  },
  {
    to: "/Women",
    text: "4",
    id: shortid.generate()
  }
];
Ugly Unicorn