Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
Hindrer del-skjerm "lenke" fra å oppføre seg som en lenke
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-nom committed Feb 21, 2024
1 parent 922dad2 commit e97b8d9
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import style from './DelSkjermLenke.module.scss';
export const DelSkjermLenke = () => {
const [isOpen, setIsOpen] = useState(false);

const openModal = () => {
const openModal = (event: React.MouseEvent) => {
event.preventDefault();

analyticsEvent({
eventName: 'Modal åpnet',
category: AnalyticsCategory.Footer,
Expand Down

0 comments on commit e97b8d9

Please sign in to comment.