polish code

This commit is contained in:
Tomas Tulka 2024-12-13 08:21:02 +01:00
parent 578ad23207
commit 96b4c880c8
2 changed files with 0 additions and 3 deletions

View File

@ -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(),

View File

@ -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);