Skip to content

Commit

Permalink
fix: activitytable needs the type from the hook
Browse files Browse the repository at this point in the history
  • Loading branch information
hetd54 committed Aug 6, 2024
1 parent f23a094 commit f505dee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ActivityTable.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import type { activityType } from "./ActivityPage.tsx"
import type { activityType } from "../hooks/activity.ts"

export interface ActivityTableProps {
data: activityType[]
Expand Down
1 change: 0 additions & 1 deletion src/components/Login.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React, { useState } from "react"
import { type UserInfo } from "firebase/auth"
import { set } from "react-hook-form"
import { handleLogin, handleLogout } from "../firebase"
import Button from "./Button.tsx"

Expand Down

0 comments on commit f505dee

Please sign in to comment.