mirror of
https://github.com/Lissy93/web-check.git
synced 2024-11-25 17:53:19 +01:00
Fix correct param name
This commit is contained in:
parent
7e27143a90
commit
70724be65a
@ -184,7 +184,6 @@ const Home = (): JSX.Element => {
|
||||
};
|
||||
|
||||
const handleKeyPress = (event: React.KeyboardEvent<HTMLInputElement>) => {
|
||||
console.log(event.key);
|
||||
if (event.key === 'Enter') {
|
||||
event.preventDefault();
|
||||
submit();
|
||||
|
@ -154,7 +154,7 @@ const FilterButtons = styled.div`
|
||||
const Results = (props: { address?: string } ): JSX.Element => {
|
||||
const startTime = new Date().getTime();
|
||||
|
||||
const address = props.address || useParams().address || '';
|
||||
const address = props.address || useParams().urlToScan || '';
|
||||
|
||||
const [ addressType, setAddressType ] = useState<AddressType>('empt');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user