Skip to content

Commit

Permalink
style: format code with Autopep8, Black, ClangFormat, dotnet-format, …
Browse files Browse the repository at this point in the history
…Go fmt, Gofumpt, Google Java Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt, Scalafmt, StandardJS, StandardRB, swift-format and Yapf

This commit fixes the style issues introduced in 6002370 according to the output
from Autopep8, Black, ClangFormat, dotnet-format, Go fmt, Gofumpt, Google Java
Format, isort, Ktlint, PHP CS Fixer, Prettier, RuboCop, Ruff Formatter, Rustfmt,
Scalafmt, StandardJS, StandardRB, swift-format and Yapf.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Jul 24, 2024
1 parent 6002370 commit 95461a0
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import axios from 'axios';
export const getARDashboardData = () => {
return (dispatch) => {
dispatch({ type: 'AR_DATA_LOADING' });
axios.get('https://example.com/ar-dashboard-data')
axios
.get('https://example.com/ar-dashboard-data')
.then((response) => {
const data = response.data;
dispatch({ type: 'AR_DATA_RECEIVED', data });
Expand All @@ -17,7 +18,8 @@ export const getARDashboardData = () => {
export const getARModel = (id) => {
return (dispatch) => {
dispatch({ type: 'AR_MODEL_LOADING' });
axios.get(`https://example.com/ar-models/${id}`)
axios
.get(`https://example.com/ar-models/${id}`)
.then((response) => {
const model = response.data;
dispatch({ type: 'AR_MODEL_RECEIVED', model });
Expand All @@ -31,7 +33,8 @@ export const getARModel = (id) => {
export const uploadARModel = (model) => {
return (dispatch) => {
dispatch({ type: 'AR_MODEL_UPLOADING' });
axios.post('https://example.com/ar-models', model)
axios
.post('https://example.com/ar-models', model)
.then((response) => {
const model = response.data;
dispatch({ type: 'AR_MODEL_UPLOADED', model });
Expand Down

0 comments on commit 95461a0

Please sign in to comment.