Conversation
Started with dashboard and searchbar
Frontend/creating dashboard
Auth/getting auth with redux
…tProccess Feature/payment procces comment proccess
Feature/users
…ing_css Refactor/refactoring code adding css
|
| GitGuardian id | Secret | Commit | Filename | |
|---|---|---|---|---|
| 4122488 | Generic High Entropy Secret | d1355f6 | frontend/src/hooks/useGeolocation.js | View secret |
| 4122488 | Generic High Entropy Secret | 88ed69f | frontend/src/hooks/useGeolocation.js | View secret |
| 4093415 | Django Secret Key | 5cb4510 | backend/backend/settings.py | View secret |
| 4122488 | Generic High Entropy Secret | 5cb4510 | frontend/src/hooks/useGeolocation.js | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secrets safely. Learn here the best practices.
- Revoke and rotate these secrets.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
| </div> | ||
| <QueryClientProvider client={queryClient}> | ||
| <SessionHandler> | ||
| <div className="App"> |
There was a problem hiding this comment.
to mi się wydaje że zbędne w tym miejscu
| import Button from "react-bootstrap/Button"; | ||
|
|
||
| export const AlertMessage = ({ alertMessage, setAlertMessage }) => { | ||
| let { status, variant, body } = alertMessage; |
|
|
||
| export const AlertMessage = ({ alertMessage, setAlertMessage }) => { | ||
| let { status, variant, body } = alertMessage; | ||
| if (status) { |
There was a problem hiding this comment.
to ogólnie jest tricky
raczej powinieneś zrobić
if (!status) return null;
return (
<Alert ...
| const coords = [data.latitude, data.longitude]; | ||
|
|
||
| return ( | ||
| <div className="leaflet-container" style={{ borderRadius: "150px" }}> |
There was a problem hiding this comment.
style inline i classname jednocześnie, zdecyduj się na jedno rozwiązanie
| import "./Modal.css"; | ||
|
|
||
| const Modal = ({ children, handleCloseModal }) => { | ||
| return ( |
There was a problem hiding this comment.
jak nie masz żadnych funkcji czy side effectów to możesz zrobić po prostu
=> (
<div>
zamiast
=> {
return (
| import "./DishesList.css"; | ||
| import Card from "react-bootstrap/Card"; | ||
| export const DishesList = ({ data }) => { | ||
| return ( |
| export const DishesList = ({ data }) => { | ||
| return ( | ||
| <div> | ||
| <div className="justify-content-around"> |
| <Card.Img | ||
| style={{ marginLeft: "35%" }} | ||
| variant="top" | ||
| src="holder.js/100px180" |
|
|
||
| return ( | ||
| <div> | ||
| {status === "loading" ? ( |
There was a problem hiding this comment.
te loadingi to wszędzie wywalić gdzieś do ifka
| Delete | ||
| </Button> | ||
| ) : ( | ||
| <></> |
There was a problem hiding this comment.
Tuta jjeszcze nie wiedzialem ze mozna robic costam? wyswietl: null
No description provided.