2
0

♻️ Improve new version popup polling

Use react-query to trigger the request more intelligently than with a timeout
This commit is contained in:
Baptiste Arnaud
2023-02-27 09:31:11 +01:00
parent d57fb4738d
commit 2fc78a5b7d
4 changed files with 17 additions and 25 deletions

View File

@ -1,3 +1,4 @@
// TODO: Remove when all clients are up to date
import { NextApiRequest, NextApiResponse } from 'next'
const handler = async (_req: NextApiRequest, res: NextApiResponse) => {