handle document uid

This commit is contained in:
Ruidy Nemausat 2020-05-17 10:59:42 +02:00
parent 00aa71e9ee
commit 28f4bd9270

View file

@ -31,9 +31,10 @@ interface Dev extends DevSummary {
export const getDescription = (status: string, company: string) =>
`${status} at ${company}`;
/** blank Dev serve as placeholder when initializing a new profile */
export const blankDev: Dev = {
id: '42',
/** blank Dev serve as placeholder when initializing a new profile
* id is not specified to not overwrite document uid.
*/
export const blankDev = {
isActive: true,
displayName: '',
status: 'Developer',