Skip to content

Commit

Permalink
updated email app
Browse files Browse the repository at this point in the history
  • Loading branch information
Aman035 committed Dec 4, 2024
1 parent 7159fdb commit 2f778fd
Show file tree
Hide file tree
Showing 5 changed files with 174 additions and 9 deletions.
172 changes: 168 additions & 4 deletions examples/email/package-lock.json

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

1 change: 1 addition & 0 deletions examples/email/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"@privy-io/react-auth": "^1.91.0",
"@privy-io/wagmi": "^0.2.12",
"@pushprotocol/node-core": "^0.0.29",
"@pushprotocol/push-chain": "^0.1.7",
"@radix-ui/react-icons": "^1.3.0",
"@radix-ui/react-popover": "^1.1.2",
"@radix-ui/react-scroll-area": "^1.2.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/email/src/components/new-email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
PopoverTrigger,
} from '@/components/ui/popover';
import PushMail from 'push-mail';
import { ENV } from '@pushprotocol/node-core/src/lib/constants';
import { ENV } from '@pushprotocol/push-chain/src/lib/constants';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { Textarea } from '@/components/ui/textarea';
Expand All @@ -25,7 +25,7 @@ import { IEmail } from '@/types';
import { X } from 'lucide-react';
import { Badge } from '@/components/ui/badge';
import { trimAddress, formatTimestamp } from '@/lib/utils';
import { PushNetwork } from '@pushprotocol/node-core';
import { PushNetwork } from '@pushprotocol/push-chain';

interface FileData {
filename: string;
Expand Down
2 changes: 1 addition & 1 deletion examples/email/src/context/app-context.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';
import { IEmail } from '@/types';
import { PushNetwork } from '@pushprotocol/node-core';
import { PushNetwork } from '@pushprotocol/push-chain';
import React, { createContext, useContext } from 'react';

interface AppContextType {
Expand Down
4 changes: 2 additions & 2 deletions examples/email/src/providers/app-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import { AppContext } from '@/context/app-context';
import { IEmail } from '@/types';
import { usePrivy } from '@privy-io/react-auth';
import { PushNetwork } from '@pushprotocol/node-core';
import { ENV } from '@pushprotocol/node-core/src/lib/constants';
import { PushNetwork } from '@pushprotocol/push-chain';
import { ENV } from '@pushprotocol/push-chain/src/lib/constants';
import PushMail from 'push-mail';

import { ReactNode, useEffect, useState } from 'react';
Expand Down

0 comments on commit 2f778fd

Please sign in to comment.