Skip to content

Commit

Permalink
Fix propTypes & React imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fdodino committed Nov 29, 2023
1 parent 5eb3231 commit 5eb7659
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/App.test.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { fireEvent, render, screen } from '@testing-library/react'
import React from 'react'

import App from './App'
import { Log } from './domain/log'
Expand Down
4 changes: 1 addition & 3 deletions src/components/logContador.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import PropTypes from 'prop-types'
import React, { useContext } from 'react'
import { useContext } from 'react'
import { Button, Container, Icon, Table } from 'semantic-ui-react'

import { Context } from '../context/Context'
Expand Down Expand Up @@ -46,8 +46,6 @@ const Logdiv = ({ log }) => {
</Table.Row>
}


Logdiv.propTypes = {
deleteLog: PropTypes.node,
log: PropTypes.object,
}

0 comments on commit 5eb7659

Please sign in to comment.