Skip to content

Commit

Permalink
🧹 Remove unnecessary console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
javikalsan committed Sep 12, 2024
1 parent 7a0276f commit 2f5915d
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/components/MemberIdentifierFields.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ const MemberIdentifierFields = (props) => {
values.member.number,
values.member.vat
)
console.log(member)
if (member?.state === true) {
setError(false)
setFieldValue('member.checked', true)
Expand Down
1 change: 0 additions & 1 deletion src/components/TextLoader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const TextLoader = props => {

React.useEffect(() => {
const url = `${import.meta.env.BASE_URL}static/docs/${language.slice(0, 2)}/${documentName}.html`
console.log({url})
setText(undefined)
axios({
method: 'GET',
Expand Down
1 change: 0 additions & 1 deletion src/containers/Cancellation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ const Cancellation = (props) => {
const csrfInput = document.querySelector(
"input[name='csrfmiddlewaretoken']"
)
console.log(`csrfmiddlewaretoken: ${csrfInput?.value}`)

const params = { ...values, csrfToken: csrfInput?.value }

Expand Down
2 changes: 1 addition & 1 deletion src/containers/CancellationConfirm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const CancellationConfirm = (props) => {
const csrfInput = document.querySelector(
"input[name='csrfmiddlewaretoken']"
)
console.log(`csrfmiddlewaretoken: ${csrfInput?.value}`)

const params = { contract_id, csrfToken: csrfInput?.value, token }

confirmCancelContract(params)
Expand Down
1 change: 0 additions & 1 deletion src/containers/HolderChange.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ function HolderChange(props) {
const handlers = {
SAMPLE_DATA: () => {
const values = { ...initialValues, ...data }
console.log(values)
},
SHOW_INSPECTOR: () => {
setShowInspector(true)
Expand Down
1 change: 0 additions & 1 deletion src/containers/Member.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const Member = (props) => {
const handlers = {
SAMPLE_DATA: () => {
const values = { ...initialValues }
console.log(values)
},
SHOW_INSPECTOR: () => {
setShowInspector(true)
Expand Down

0 comments on commit 2f5915d

Please sign in to comment.