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