mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
remove default theme color for new users
This commit is contained in:
@@ -102,18 +102,7 @@ export const AppProvider: React.FC = ({ children }) => {
|
||||
}
|
||||
return acc;
|
||||
}, {});
|
||||
db.doc(userDoc.path).set(
|
||||
{
|
||||
tables: {},
|
||||
user: userData,
|
||||
theme: {
|
||||
palette: {
|
||||
primary: { main: "#ef4747" },
|
||||
},
|
||||
},
|
||||
},
|
||||
{ merge: true }
|
||||
);
|
||||
db.doc(userDoc.path).set({ tables: {}, user: userData }, { merge: true });
|
||||
}
|
||||
}, [userDoc]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user