Skip to content

Commit

Permalink
feat(ProductSwitcher): enabling redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
VadymBezpalko committed Aug 1, 2024
1 parent f7a23b0 commit e68c3b7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { FC, MouseEvent, useState } from 'react';
import { FC, useState } from 'react';
import * as React from 'react';

import {
Expand Down Expand Up @@ -81,8 +81,8 @@ export const ProductSwitcher: FC<IProductSwitcherProps> = ({
return null;
}

const handleClick = (event: MouseEvent) => {
event.preventDefault();
const handleClick = () => {
setIsOpen(false);
};

const combinedNotificationCount = productOptions.reduce(
Expand Down

0 comments on commit e68c3b7

Please sign in to comment.