Skip to content

Commit

Permalink
Merge branch 'dev' into feat/shareModal
Browse files Browse the repository at this point in the history
  • Loading branch information
brucedonovan authored Jul 26, 2023
2 parents 3b33ebc + 0572f2f commit 288fdbb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/node": "18.11.18",
"@types/react": "18.0.27",
"@types/react-dom": "18.0.10",
"@uniswap/sdk-core": "4.0.3",
"@uniswap/sdk-core": "<=4.0.3 || >4.0.6",
"@uniswap/smart-order-router": "^3.11.0",
"@uniswap/v3-periphery": "^1.4.3",
"copy-to-clipboard": "^3.3.3",
Expand Down
3 changes: 1 addition & 2 deletions src/api/shares/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ export const useMutationCreateSharedSession = (sessionId: string) => {
onSuccess: (data, variables, context): void => {
if (data) {
const newSessionId = data;
// router.push(`/shares/${newSessionId}`);
return newSessionId;
router.push(`/shares/${newSessionId}`);
queryClient.invalidateQueries({ queryKey: ['shares'] });
}
},
Expand Down
1 change: 1 addition & 0 deletions src/components/experimental_/ChatList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { useRouter } from 'next/router';
import { useChatContext } from '@/contexts/ChatContext';
import { CheckIcon } from '@heroicons/react/24/outline';
import { ShareIcon, TrashIcon } from '@heroicons/react/24/outline';
import { useQueryChats } from '@/api/chats/queries';
import useThread from '@/hooks/useThread';
import { abbreviateHash } from '@/utils';
import { useQueryChats } from '@/api/chats/queries';
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5690,7 +5690,7 @@ __metadata:
languageName: node
linkType: hard

"@uniswap/sdk-core@npm:4.0.3":
"@uniswap/sdk-core@npm:<=4.0.3 || >4.0.6":
version: 4.0.3
resolution: "@uniswap/sdk-core@npm:4.0.3"
dependencies:
Expand Down Expand Up @@ -8128,7 +8128,7 @@ __metadata:
"@types/node": 18.11.18
"@types/react": 18.0.27
"@types/react-dom": 18.0.10
"@uniswap/sdk-core": 4.0.3
"@uniswap/sdk-core": <=4.0.3 || >4.0.6
"@uniswap/smart-order-router": ^3.11.0
"@uniswap/v3-periphery": ^1.4.3
autoprefixer: ^10.4.14
Expand Down

0 comments on commit 288fdbb

Please sign in to comment.