Skip to content

Commit

Permalink
minor ts tidy up following github checks
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyKilmory committed Apr 16, 2024
1 parent 045b42d commit a400ccc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from "react";
import * as angular from "angular";
import {react2angular} from "react2angular";
import {useEffect, useState, useRef} from "react";
import {useEffect, useState} from "react";

import "./gr-notifications-banner.css";

Expand Down Expand Up @@ -78,7 +78,6 @@ const todayStr = (): string => {
};

const getCookie = (cookieName: string): string => {
const name = cookieName + "=";
const decodedCookie = decodeURIComponent(document.cookie);
const cookieArray = decodedCookie.split(';');
return cookieArray.find((cookie) => cookie.trim().startsWith(cookieName));
Expand Down

0 comments on commit a400ccc

Please sign in to comment.