Skip to content

Commit

Permalink
Merge pull request #1738 from KOSASIH/deepsource-transform-19c771ca
Browse files Browse the repository at this point in the history
style: format code with 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
  • Loading branch information
KOSASIH authored Jul 24, 2024
2 parents 41c9258 + 95461a0 commit 81036ea
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 81036ea

Please sign in to comment.