Skip to content

Commit

Permalink
bugfix: removed unused declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikkabade committed May 29, 2024
1 parent 220375e commit 3fcc6f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src/components/layout/ScrollTop.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
type ScrollTopProps = {
col: string
}

export const ScrollTop = (props: ScrollTopProps) => {
export const ScrollTop = () => {
function scrollUp() {
const scrollUp = document.getElementById('scroll-up');

Expand Down
2 changes: 1 addition & 1 deletion src/routes/Routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const ProjectRoutes = () => {
}
</Routes>

<ScrollTop col={"green"} />
<ScrollTop />

</BrowserRouter>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/security/ForgotPin.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Modal } from "flowbite-react"
import { useEffect, useState } from "react"
import { useState } from "react"

export const ForgotPin = () => {
const [openModal, setOpenModal] = useState<string | undefined>();
Expand Down

0 comments on commit 3fcc6f8

Please sign in to comment.