diff options
| author | eperelm2 <emily_perelman@brown.edu> | 2023-08-24 20:54:45 +0200 |
|---|---|---|
| committer | eperelm2 <emily_perelman@brown.edu> | 2023-08-24 20:54:45 +0200 |
| commit | f189b4f65163a7bc231b5aa57f01d915f953931d (patch) | |
| tree | b8bd6fba593a29319972a40a07f572063b300b25 /src/client/views/DashboardView.tsx | |
| parent | 2fcad5e8bd1412487b4fcacefdc12a2df5707638 (diff) | |
| parent | 372face940712d239d48f9884ded34d82d170a94 (diff) | |
filter - made small finishing changes
Diffstat (limited to 'src/client/views/DashboardView.tsx')
| -rw-r--r-- | src/client/views/DashboardView.tsx | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx index d6c7b43d5..acf5b654d 100644 --- a/src/client/views/DashboardView.tsx +++ b/src/client/views/DashboardView.tsx @@ -108,15 +108,7 @@ export class DashboardView extends React.Component { }}> <div className="header">Create New Dashboard</div> <EditableText formLabel="Title" placeholder={placeholder} type={Type.SEC} color={StrCast(Doc.UserDoc().userColor)} setVal={val => this.setNewDashboardName(val as string)} fillWidth /> - <ColorPicker - formLabel="Background" - colorPickerType="github" - type={Type.TERT} - selectedColor={this.newDashboardColor} - setSelectedColor={color => { - this.setNewDashboardColor(color); - }} - /> + <ColorPicker formLabel="Background" colorPickerType="github" type={Type.TERT} selectedColor={this.newDashboardColor} setSelectedColor={this.setNewDashboardColor} /> <div className="button-bar"> <Button text="Cancel" color={StrCast(Doc.UserDoc().userColor)} onClick={this.abortCreateNewDashboard} /> <Button type={Type.TERT} text="Create" color={StrCast(Doc.UserDoc().userVariantColor)} onClick={() => this.createNewDashboard(this.newDashboardName!, this.newDashboardColor)} /> |
