mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-23 05:54:49 +03:00
8 lines
108 B
JavaScript
8 lines
108 B
JavaScript
export const getInitialState = (props) => {
|
|
if (!props) {
|
|
return null;
|
|
}
|
|
|
|
return { ...props };
|
|
};
|