Skip to content

Commit

Permalink
urlParams.origin
Browse files Browse the repository at this point in the history
  • Loading branch information
HowardBraham committed Sep 30, 2024
1 parent f2c54dd commit 3013805
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/components/multichain/pages/connections/connections.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export const Connections = () => {
setShowDisconnectedAllAccountsUpdatedToast,
] = useState(false);

const { origin } = useParams<Params>() as Params;
const activeTabOrigin = decodeURIComponent(origin);
const urlParams = useParams<Params>() as Params;
const activeTabOrigin = decodeURIComponent(urlParams.origin);

// TODO: Replace `any` with type
// eslint-disable-next-line @typescript-eslint/no-explicit-any
Expand Down

0 comments on commit 3013805

Please sign in to comment.