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