Skip to content

Commit

Permalink
Fix merge stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Mar 26, 2021
2 parents 3ea43ba + cff7a51 commit 0ed0e79
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions web/src/components/accounts.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { Component } from 'react';
import { PencilFill, Plus, Power } from 'react-bootstrap-icons';
import { PencilFill, Power } from 'react-bootstrap-icons';
import { AccountOptions } from '../services/accounts';
import RegisterAccount from './registerAccount';

Expand Down Expand Up @@ -64,4 +64,4 @@ export default class Account extends Component<any, AccountState> {
</div>
);
}
}
}
2 changes: 1 addition & 1 deletion web/src/components/registerAccount.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from 'react';
import React from 'react';
import Offcanvas from './offCanvas';
import AccountForm from './accountForm';

Expand Down
4 changes: 2 additions & 2 deletions web/src/services/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ export function getAccount(name: string) {
}

export function editAccount(options: AccountOptions) {
return axios({ method: 'PUT', url: url(options.login.username), data: options})
return axios({ method: 'PUT', url: url(options.login.username), data: options });
}

export function login(name: string) {
return axios({ method: 'POST', url: url(`${name}/login`) });
}
}

0 comments on commit 0ed0e79

Please sign in to comment.