This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const useStyles = makeStyles(() => ({ | |
| root: { | |
| overflowY: 'auto', | |
| flex: 1, | |
| maxHeight: '400px', | |
| } | |
| })) | |
| const TodoList: FC<TodoProps> = props => { | |
| const { className, items = [], title = 'Todo', onUpdate } = props |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (info && info.accessToken) { | |
| if (!!options.json) { | |
| return res.json({'access_token': info.accessToken.id, userId: user.id}); | |
| } else { | |
| res.cookie('access_token', info.accessToken.id, { signed: req.signedCookies ? true : false, | |
| maxAge: 1000 * info.accessToken.ttl }); | |
| res.cookie('userId', user.id.toString(), { signed: req.signedCookies ? true : false, | |
| maxAge: 1000 * info.accessToken.ttl }); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Verifying that +torgeir is my openname (Bitcoin username). https://onename.com/torgeir |