Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@
"@sentry/toolbar": "1.0.0-beta.16",
"@sentry/webpack-plugin": "^4.0.0",
"@swc/plugin-emotion": "10.0.2",
"@tanstack/query-async-storage-persister": "^5.72.1",
"@tanstack/react-query": "^5.72.1",
"@tanstack/react-query-devtools": "^5.72.1",
"@tanstack/react-query-persist-client": "^5.72.1",
"@tanstack/query-async-storage-persister": "5.83.1",
"@tanstack/react-query": "5.85.0",
"@tanstack/react-query-devtools": "5.85.0",
"@tanstack/react-query-persist-client": "5.85.0",
"@tanstack/react-virtual": "^3.13.6",
"@types/color": "^3.0.3",
"@types/diff": "5.2.1",
Expand Down Expand Up @@ -124,7 +124,7 @@
"gettext-parser": "7.0.1",
"gl-matrix": "^3.4.3",
"html-webpack-plugin": "5.6.3",
"idb-keyval": "^6.2.1",
"idb-keyval": "6.2.2",
"invariant": "^2.2.4",
"jed": "^1.1.0",
"jest-fetch-mock": "^3.0.3",
Expand Down Expand Up @@ -187,7 +187,7 @@
"@sentry/jest-environment": "6.1.0",
"@sentry/profiling-node": "9.40.0",
"@styled/typescript-styled-plugin": "^1.0.1",
"@tanstack/eslint-plugin-query": "^5.66.1",
"@tanstack/eslint-plugin-query": "5.83.1",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.2.0",
Expand Down
98 changes: 49 additions & 49 deletions pnpm-lock.yaml

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

1 change: 1 addition & 0 deletions static/app/utils/discover/genericDiscoverQuery.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ export function useGenericDiscoverQuery<T, P>(props: Props<T, P>) {
});

return {
// eslint-disable-next-line @tanstack/query/no-rest-destructuring
...res,
data: res.data?.[0] ?? undefined,
error: parseError(res.error),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
IncrementalSource,
isRRWebChangeFrame,
type RecordingFrame,
type ReplayFrame,
} from 'sentry/utils/replays/types';

type DiffMutation = Record<
Expand Down Expand Up @@ -251,7 +250,7 @@ export default function useExtractDiffMutations({
leftOffsetMs,
replay,
rightOffsetMs,
}: Props): UseQueryResult<Map<ReplayFrame, DiffMutation>> {
}: Props): UseQueryResult<Map<RecordingFrame, DiffMutation>, Error> {
const startTimestampMs = replay.getReplay().started_at.getTime();
const rangeStartTimestampMs = startTimestampMs + leftOffsetMs;
const rangeEndTimestampMs = startTimestampMs + rightOffsetMs;
Expand Down
Loading