Skip to content

Commit 14a9d88

Browse files
Tie @tanstack/react-query to 4.32.x
1 parent 9152f2f commit 14a9d88

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

ui/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"@swc/helpers": "^0.5.1",
2020
"@t3-oss/env-nextjs": "^0.7.0",
2121
"@tailwindcss/postcss": "^4.1.4",
22-
"@tanstack/react-query": "^4.32.6",
22+
"@tanstack/react-query": "4.32.x",
2323
"@tanstack/react-table": "^8.10.7",
2424
"@tanstack/table-core": "8.10.7",
2525
"@tisoap/react-flow-smart-edge": "^3.0.0",

ui/src/app/datasets/[bucket]/[name]/components/DeleteCollection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const DeleteCollection = ({ dataset }: { dataset: DataInfoResponse<Datase
3939
const { sidebarData } = useStore();
4040

4141
const handleDelete = async () => {
42-
if (loading || mutation.isPending) {
42+
if (loading || mutation.isLoading) {
4343
return;
4444
}
4545
setLoading(true);
@@ -84,9 +84,9 @@ export const DeleteCollection = ({ dataset }: { dataset: DataInfoResponse<Datase
8484
<button
8585
className="btn btn-primary h-8"
8686
onClick={handleDelete}
87-
aria-disabled={loading || mutation.isPending}
87+
aria-disabled={loading || mutation.isLoading}
8888
>
89-
{loading || mutation.isPending ? (
89+
{loading || mutation.isLoading ? (
9090
<Spinner
9191
className="border-black"
9292
size="button"

ui/src/app/datasets/[bucket]/[name]/components/Rename.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const Rename = ({
4343

4444
const handleRename = async (e: React.FormEvent<HTMLFormElement>) => {
4545
e.preventDefault();
46-
if (loading || mutation.isPending) {
46+
if (loading || mutation.isLoading) {
4747
return;
4848
}
4949
setLoading(true);
@@ -107,9 +107,9 @@ export const Rename = ({
107107
<button
108108
className="btn btn-primary h-8"
109109
type="submit"
110-
aria-disabled={loading || mutation.isPending}
110+
aria-disabled={loading || mutation.isLoading}
111111
>
112-
{loading || mutation.isPending ? (
112+
{loading || mutation.isLoading ? (
113113
<Spinner
114114
className="border-black"
115115
size="button"

0 commit comments

Comments
 (0)