authscape 1.0.478 → 1.0.480

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -8376,6 +8376,7 @@ var _Autocomplete = _interopRequireWildcard(require("@mui/material/Autocomplete"
8376
8376
  var _material = require("@mui/material");
8377
8377
  var _InsertDriveFileRounded = _interopRequireDefault(require("@mui/icons-material/InsertDriveFileRounded"));
8378
8378
  var _ArrowBackIosRounded = _interopRequireDefault(require("@mui/icons-material/ArrowBackIosRounded"));
8379
+ var _router = require("next/router");
8379
8380
  var _excluded = ["children", "value", "index"];
8380
8381
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
8381
8382
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
@@ -8447,6 +8448,7 @@ var TicketDetail = function TicketDetail(_ref) {
8447
8448
  _useState22 = _slicedToArray(_useState21, 2),
8448
8449
  selectedCreatedBy = _useState22[0],
8449
8450
  setSelectedCreatedBy = _useState22[1];
8451
+ var router = (0, _router.useRouter)();
8450
8452
  (0, _react.useEffect)(function () {
8451
8453
  var fetchData = /*#__PURE__*/function () {
8452
8454
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.478",
3
+ "version": "1.0.480",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -15,6 +15,7 @@ import Autocomplete, { createFilterOptions } from '@mui/material/Autocomplete';
15
15
  import { Button, Card, CardActions, CardContent, CardMedia, Stack } from "@mui/material";
16
16
  import InsertDriveFileRoundedIcon from '@mui/icons-material/InsertDriveFileRounded';
17
17
  import ArrowBackIosRoundedIcon from '@mui/icons-material/ArrowBackIosRounded';
18
+ import { useRouter } from 'next/router';
18
19
 
19
20
  export const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewTickets = null, customTabName = null, customTabElement = null}) => {
20
21
 
@@ -32,6 +33,7 @@ export const TicketDetail = ({ticketId, setIsLoading, currentUser, GoBackToViewT
32
33
  const [createdByList, setCreatedByList] = useState([]);
33
34
  const [selectedCreatedBy, setSelectedCreatedBy] = useState(null);
34
35
 
36
+ const router = useRouter();
35
37
 
36
38
  useEffect(() => {
37
39