mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-03-16 00:55:18 +00:00
polish code
This commit is contained in:
parent
578ad23207
commit
96b4c880c8
@ -967,7 +967,6 @@ pub mod test {
|
||||
async fn test_device() {
|
||||
let _guard = test::prepare().await;
|
||||
let dp = storage::device_profile::test::create_device_profile(None).await;
|
||||
let dp2 = storage::device_profile::test::create_device_profile(None).await;
|
||||
let mut d = create_device(
|
||||
EUI64::from_be_bytes([1, 2, 3, 4, 5, 6, 7, 8]),
|
||||
dp.id.into(),
|
||||
|
@ -31,8 +31,6 @@ function DataTable(props: IProps) {
|
||||
(page: number, pz: number, orderBy?: string | void) => {
|
||||
setLoading(true);
|
||||
|
||||
console.log("LOAD", page, pz, orderBy);
|
||||
|
||||
props.getPage(pz, (page - 1) * pz, orderBy, (totalCount: number, rows: object[]) => {
|
||||
setTotalCount(totalCount);
|
||||
setRows(rows);
|
||||
|
Loading…
x
Reference in New Issue
Block a user