🚚(global) update paths and urls after ownership transfer
This repository has been recently transfered from openfun to lasuitenumerique. We need to fix some paths and urls especially to fix documentation and README
This commit is contained in:
committed by
Jean-Baptiste PENRATH
parent
4220061bc0
commit
6097929593
@@ -138,7 +138,7 @@ describe("<Checkbox/>", () => {
|
||||
});
|
||||
|
||||
/**
|
||||
* From this issue: https://github.com/openfun/cunningham/issues/175
|
||||
* From this issue: https://github.com/suitenumerique/cunningham/issues/175
|
||||
* The bug was that when clicking on the checkmark (svg) it was firing two onClick event to
|
||||
* <section>.
|
||||
*/
|
||||
|
||||
@@ -53,6 +53,10 @@ const SportsBase = ({ values }: SportProps) => {
|
||||
methods.reset(values);
|
||||
}, [values]);
|
||||
|
||||
useEffect(() => {
|
||||
methods.setFocus("competition");
|
||||
}, [methods.setFocus]);
|
||||
|
||||
return (
|
||||
<FormProvider {...methods}>
|
||||
<form
|
||||
@@ -116,6 +120,7 @@ const SportsBase = ({ values }: SportProps) => {
|
||||
</div>
|
||||
|
||||
<RhfSelect
|
||||
{...methods.register("competition")}
|
||||
name="competition"
|
||||
label="Competition"
|
||||
options={[
|
||||
|
||||
Reference in New Issue
Block a user