Why page is refreshing after successfull uppy upload? I want to prevent it

am trying to upoad files via uppy dashboard to express server ,all things are working as expected expect one thing! Page is refreshing/ reloading after xhr successful upload via uppy? why I want to show response back to UI but my page is refreshing and everything lost? how to prevent this behavior? here is my code

uppy.use(Uppy.XHRUpload, {
  // Only send our own `size` metadata field.
  endpoint: 'http://localhost:3000/upload-img',
  fieldName: 'shouts-imgs',
  formData: true,
  method: 'post'
})

please help me out to prevent page refreshing after uppy upload completes?