Minor modifications
This commit is contained in:
1 parent
daed8e5dc1
commit
56c9eb37bb
5 files changed
+24
-9
No files matched your search
@@ -71,8 +71,15 @@ const GpxImport: Component = () => {
|
||||
// }
|
||||
};
|
||||
|
||||
const handleClose = () => {
|
||||
setFilesToImport(undefined);
|
||||
const handleClose = (event: any, reason?: string) => {
|
||||
console.log({
|
||||
caller: 'GpxImport / handleClose',
|
||||
event,
|
||||
reason,
|
||||
});
|
||||
if (reason === undefined) {
|
||||
setFilesToImport(undefined);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user