Skip to content

Commit

Permalink
Added API Key
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshaycommits committed Jan 26, 2024
1 parent 90e5743 commit a37837f
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .env.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REACT_APP_API_KEY=AIzaSyB5Fb5iTeVLVoRPkDOU6_KYrVJvzO4kHpg
REACT_APP_SUGGESTION_KEY=c7688d318amshc13629334ee4fc6p13e62ajsnfbdcbf33ed87
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
Expand Down
162 changes: 162 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "youtube-clone",
"homepage": "https://imlakshaychauhan.github.io/youtube-clone",
"version": "0.1.0",
"private": true,
"dependencies": {
Expand All @@ -16,6 +17,8 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
Expand All @@ -38,5 +41,8 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"gh-pages": "^6.0.0"
}
}
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ const AppRouter = createBrowserRouter([
},
{
path: "/results",
element: <Results />
}
element: <Results />,
},
],
},
]);
Expand Down
14 changes: 7 additions & 7 deletions src/utils/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import searchSlice from "./searchSlice";
const { configureStore } = require("@reduxjs/toolkit");

const store = configureStore({
reducer: {
app: appSlice,
search: searchSlice,
chat: chatSlice
}
})
reducer: {
app: appSlice,
search: searchSlice,
chat: chatSlice,
},
});

export default store;
export default store;

0 comments on commit a37837f

Please sign in to comment.