Skip to content

Commit

Permalink
fix unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
ybizeul committed Oct 12, 2024
1 parent 1ddd662 commit a5d5800
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion web/ui/src/YBFeed/Components/YBFeedItemsComponent.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createContext, useEffect, useMemo, useRef, useState } from 'react'
import { createContext, useEffect, useRef, useState } from 'react'
import { Space } from "@mantine/core"
import { YBFeedItemComponent } from '.'
import { Connector, YBFeed, YBFeedItem } from '../'
Expand Down
4 changes: 2 additions & 2 deletions web/ui/src/YBFeed/YBFeedFeed.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect, useState, useMemo } from "react"
import { useEffect, useState } from "react"

import { useParams, useSearchParams, useNavigate, useLocation } from 'react-router-dom';

Expand Down Expand Up @@ -44,7 +44,7 @@ export function YBFeedFeed() {
const s=searchParams.get("secret")
if (s) {
Connector.AuthenticateFeed(feedName,s)
.then((se) => {
.then(() => {
navigate("/" + feedName)
})
.catch((e) => console.log(e))
Expand Down

0 comments on commit a5d5800

Please sign in to comment.