From 5c0927bdea3a798bdefc2452996d5be28310dd04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Sat, 7 May 2022 13:50:23 +0100 Subject: [PATCH] fix(ui): migrate to new floating-ui api --- .github/workflows/test.yml | 2 +- ui/src/Components/NavBar/FilterInput/History.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74f9c72d9..79de47259 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -350,7 +350,7 @@ jobs: - name: Set up Node JS uses: actions/setup-node@v3 with: - node-version: 18.1.0 + node-version: 17.9.0 cache: 'npm' cache-dependency-path: 'ui/package-lock.json' diff --git a/ui/src/Components/NavBar/FilterInput/History.tsx b/ui/src/Components/NavBar/FilterInput/History.tsx index e1af30a04..10045e4b0 100644 --- a/ui/src/Components/NavBar/FilterInput/History.tsx +++ b/ui/src/Components/NavBar/FilterInput/History.tsx @@ -203,8 +203,8 @@ const History: FC<{ flip(), offset(5), size({ - apply({ height }) { - setMaxHeight(height); + apply({ availableHeight }) { + setMaxHeight(availableHeight); }, }), ],