Skip to content

Commit

Permalink
Remove any
Browse files Browse the repository at this point in the history
  • Loading branch information
aarongarciah committed Jun 20, 2024
1 parent 5ec49f7 commit 35a7a27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/data/material/components/autocomplete/GoogleMaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ export default function GoogleMaps() {
option.structured_formatting.main_text,
matches.map((match) => [match.offset, match.offset + match.length]),
);

const { key, ...nonKeyProps } = props;
return (
<li {...props}>
<li key={key} {...nonKeyProps}>
<Grid container sx={{ alignItems: 'center' }}>
<Grid item sx={{ display: 'flex', width: 44 }}>
<LocationOnIcon sx={{ color: 'text.secondary' }} />
Expand Down
2 changes: 1 addition & 1 deletion docs/data/material/components/autocomplete/GoogleMaps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default function GoogleMaps() {
option.structured_formatting.main_text,
matches.map((match: any) => [match.offset, match.offset + match.length]),
);
const {key, ...nonKeyProps} = props as any;
const { key, ...nonKeyProps } = props;
return (
<li key={key} {...nonKeyProps}>
<Grid container sx={{ alignItems: 'center' }}>
Expand Down

0 comments on commit 35a7a27

Please sign in to comment.