Skip to content

Commit 917a26f

Browse files
committed
Fixed async selects and removed social content
* need to revise posts design * clean up user data fields * prod data migrated successfully
1 parent 8fe124d commit 917a26f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@
4747
"scripts": {
4848
"start": "REACT_APP_ENV=staging react-scripts start",
4949
"start:staging": "REACT_APP_ENV=staging react-scripts start",
50-
"start:production": "REACT_APP_ENV=production react-scripts start",
50+
"start:prod": "REACT_APP_ENV=production react-scripts start",
5151
"build": "REACT_APP_ENV=production react-scripts build",
5252
"build:staging": "REACT_APP_ENV=staging react-scripts build",
53-
"build:production": "REACT_APP_ENV=production react-scripts build",
53+
"build:prod": "REACT_APP_ENV=production react-scripts build",
5454
"test": "react-scripts test",
5555
"eject": "react-scripts eject"
5656
},

src/components/profile-page/ProfilePage.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from 'react';
22
import { get } from 'lodash';
33
import Overview from './components/profile-summary';
4-
import SocialContentSection from './components/social-content-section';
4+
// import SocialContentSection from './components/social-content-section';
55
import useUser from '../../hooks/use-user';
66

77
const ProfilePage = ({ match, location }) => {
@@ -11,7 +11,7 @@ const ProfilePage = ({ match, location }) => {
1111
return (
1212
<div>
1313
<Overview authUser={user} uid={id} />
14-
<SocialContentSection uid={id} authUser={user} selected={location.hash} />
14+
{/* <SocialContentSection uid={id} authUser={user} selected={location.hash} /> */}
1515
</div>
1616
);
1717
};

src/components/project-page/components/dashboard/components/settings-form/components/admin-form/AdminForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const AdminForm = ({ className }) => {
1313
const promiseOptions = usernameInput =>
1414
new Promise((resolve) => {
1515
const filterUsers = async () => {
16-
const users = await db.getAllByFilter('users')(db.where('username')('>=')(usernameInput));
16+
const users = await db.getAllByFilter('users')(db.where('full_name')('>=')(usernameInput));
1717
return users;
1818
};
1919

src/components/project-page/components/dashboard/components/team-form/TeamForm.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const TeamForm = ({ className }) => {
3131
const promiseOptions = usernameInput =>
3232
new Promise((resolve) => {
3333
const filterUsers = async () => {
34-
const users = await db.getAllByFilter('users')(db.where('username')('>=')(usernameInput));
34+
const users = await db.getAllByFilter('users')(db.where('full_name')('>=')(usernameInput));
3535
return users;
3636
};
3737

0 commit comments

Comments
 (0)