This website requires JavaScript.
Explore
Help
Sign In
filecoin-project
/
slate
Watch
1
Star
1
Fork
0
You've already forked slate
mirror of
https://github.com/filecoin-project/slate.git
synced
2024-11-24 06:45:59 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
594159521b
slate
/
common
/
state.js
8 lines
108 B
JavaScript
Raw
Normal View
History
Unescape
Escape
integration: state with powergate and transforms
2020-06-04 09:26:20 +03:00
export
const
getInitialState
=
(
props
)
=>
{
authentication: adds user auth concept, sign out, and adds 3 images to a bucket upon user creation
2020-07-21 14:36:50 +03:00
if
(
!
props
)
{
return
null
;
}
slate: cleans up state, guarantees JSON response from endpoints, updates server code
2020-08-25 09:46:02 +03:00
return
{
...
props
}
;
}
;
Reference in New Issue
Copy Permalink