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