Files
twenty/packages/twenty-front
Gaz Jones b39d262058 fix: replace defaultProps with default parameters in SpreadsheetImport (#7406)
This PR addresses https://github.com/twentyhq/twenty/issues/6827

React has deprecated the use of `defaultProps` on function components
and will remove support in a future major release. This commit replaces
the usage of `defaultProps` in the `SpreadsheetImport` component with
default parameters to fix the following warning:

**Changes:**

- Removed `SpreadsheetImport.defaultProps =
defaultSpreadsheetImportProps;`
- Merged `defaultSpreadsheetImportProps` with incoming `props` using
object spread syntax.
- Adjusted the component to use the merged props (`mergedProps`) instead
of `props`.
2024-10-02 20:30:39 +02:00
..
2024-03-31 10:53:37 +02:00
2024-07-29 13:03:09 +02:00
2024-09-30 11:42:06 +02:00
2024-08-09 08:38:01 +02:00

Run yarn dev while server running on port 3000