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