Skip to content

Commit

Permalink
chore: bump @solvro/config from 1.12.1 to 1.13.0 in /frontend
Browse files Browse the repository at this point in the history
* build(deps-dev): bump @solvro/config from 1.12.1 to 1.13.0 in /frontend

Bumps [@solvro/config](https://github.com/Solvro/lib-web-solvro-config) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/Solvro/lib-web-solvro-config/releases)
- [Changelog](https://github.com/Solvro/lib-web-solvro-config/blob/main/.releaserc.js)
- [Commits](Solvro/lib-web-solvro-config@v1.12.1...v1.13.0)

---
updated-dependencies:
- dependency-name: "@solvro/config"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: fix query client

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: QamarQ <kamilm@you2.pl>
Co-authored-by: Kamil Marczak <79667721+qamarq@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 14, 2025
1 parent 785393b commit 4017e4d
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 53 deletions.
109 changes: 64 additions & 45 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"zod": "^3.24.1"
},
"devDependencies": {
"@solvro/config": "^1.12.1",
"@solvro/config": "^1.13.0",
"@types/crypto-js": "^4.2.2",
"@types/node": "^20.17.10",
"@types/react": "^18.3.17",
Expand Down
14 changes: 7 additions & 7 deletions frontend/src/components/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import type React from "react";

import { TooltipProvider } from "@/components/ui/tooltip";

export function ClientProviders({ children }: { children: React.ReactNode }) {
const queryClient = new QueryClient({
defaultOptions: {
queries: {
gcTime: 1000 * 60 * 60 * 24, // 24 hours
},
const queryClient = new QueryClient({
defaultOptions: {
queries: {
gcTime: 1000 * 60 * 60 * 24, // 24 hours
},
});
},
});

export function ClientProviders({ children }: { children: React.ReactNode }) {
return (
<TooltipProvider delayDuration={0}>
<QueryClientProvider client={queryClient}>{children}</QueryClientProvider>
Expand Down

0 comments on commit 4017e4d

Please sign in to comment.