Skip to content

Commit

Permalink
clean imports
Browse files Browse the repository at this point in the history
  • Loading branch information
ybizeul committed Oct 8, 2024
1 parent 2821bc2 commit 68ccac9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useState, useEffect, useMemo, useRef } from 'react'
import { useState, useEffect } from 'react'

import { ActionIcon } from '@mantine/core';
import { IconBell } from '@tabler/icons-react';
Expand Down
8 changes: 2 additions & 6 deletions web/ui/src/YBFeed/Components/YBPasteCardComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,15 @@ import { useState,useEffect } from 'react'

import { redirect, useParams } from 'react-router-dom'

import { Textarea, Center, Text } from '@mantine/core';
import { Textarea, Center } from '@mantine/core';
import { Dropzone } from '@mantine/dropzone';
// import { useForm } from '@mantine/form';

import './YBPasteCardComponent.css'
import { PasteToFeed } from '../../paste';
import { Y } from '../../YBFeedClient';

interface YBPasteCardComponentProps {
onPaste?: () => void
}

export function YBPasteCardComponent(props:YBPasteCardComponentProps) {
export function YBPasteCardComponent() {
const [isMobile, setIsMobile] = useState(false)
const {feedName} = useParams()

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,12 +1,12 @@
import { useEffect, useState, useMemo, useRef } from "react"
import { useEffect, useState, useMemo } from "react"

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

import { notifications } from '@mantine/notifications';

import { Menu, ActionIcon, Center, Group, rem, Button, Box} from '@mantine/core';

import { YBFeed, YBFeedConnector, YBFeedItem } from '.'
import { YBFeedConnector } from '.'

import { YBBreadCrumbComponent, YBPasteCardComponent, YBFeedItemsComponent, YBNotificationToggleComponent } from './Components'
import { defaultNotificationProps } from './config';
Expand Down

0 comments on commit 68ccac9

Please sign in to comment.