Skip to content

Commit 1659eb3

Browse files
Merge pull request #5 from MohamedRizwan399/hotfix/TRAPWLS-19_modify
Hotfix- TRAPWLS-19 modify
2 parents 45adf48 + a2ccea6 commit 1659eb3

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# dependencies
44
/node_modules
5+
/build
56
/.pnp
67
.pnp.js
78

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "javascript-crud-with-sampletasks",
33
"version": "1.0",
4+
"homepage": "https://mohamedrizwan399.github.io/CRUDJavaScriptSampleProject",
45
"private": true,
56
"dependencies": {
67
"@reduxjs/toolkit": "^1.9.7",
@@ -10,6 +11,7 @@
1011
"axios": "^1.7.7",
1112
"cors": "^2.8.5",
1213
"firebase": "^11.0.1",
14+
"gh-pages": "^6.2.0",
1315
"jest": "^27.5.1",
1416
"jwt-decode": "^3.1.2",
1517
"nodemon": "^3.1.7",
@@ -30,7 +32,9 @@
3032
"start": "react-scripts start",
3133
"build": "react-scripts build",
3234
"test": "react-scripts test",
33-
"eject": "react-scripts eject"
35+
"eject": "react-scripts eject",
36+
"predeploy": "npm run build",
37+
"deploy": "gh-pages -b master -d build"
3438
},
3539
"eslintConfig": {
3640
"extends": [

src/loginAuthentication/GoogleLogin.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const GoogleLogin = () => {
3434
useEffect(() => {
3535
//its global google and its from client
3636
google.accounts.id.initialize({
37-
client_id: "424905758834-2dmk59lkqblmtcmd8cmih8tb5bkp2gek.apps.googleusercontent.com",
37+
client_id: "",
3838
callback: handleCallbackResponse
3939
});
4040
google.accounts.id.renderButton(

0 commit comments

Comments
 (0)