enzostvs HF Staff commited on
Commit
7c248a2
·
1 Parent(s): b573489

auto close delay x2

Browse files
src/components/deploy-button/deploy-button.tsx CHANGED
@@ -59,7 +59,10 @@ function DeployButton({
59
  toast.success(
60
  <MsgToast
61
  url={`https://huggingface.co/spaces/${response.path ?? path}`}
62
- />
 
 
 
63
  );
64
  setPath(response.path);
65
  } else {
 
59
  toast.success(
60
  <MsgToast
61
  url={`https://huggingface.co/spaces/${response.path ?? path}`}
62
+ />,
63
+ {
64
+ autoClose: 10000,
65
+ }
66
  );
67
  setPath(response.path);
68
  } else {