Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Nov 2, 2024
1 parent 75d7f77 commit 7502b6f
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions apps/hyperdrive-trading/src/ui/analytics/Plausible.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export interface PlausibleEventParamsMap {
transactionSubmit: {
props: {
transactionHash: string;
transactionsType: TransactionType;
transactionType: TransactionType;
positionType: PositionType;
poolAddress: Address;
chainId: number;
Expand All @@ -120,7 +120,7 @@ export interface PlausibleEventParamsMap {
transactionSuccess: {
props: {
transactionHash: string;
transactionsType: TransactionType;
transactionType: TransactionType;
positionType: PositionType;
poolAddress: Address;
chainId: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export function useCloseLong({
window.plausible("transactionSuccess", {
props: {
transactionHash: txHash,
transactionsType: "close",
transactionType: "close",
positionType: "long",
poolAddress: hyperdriveAddress,
chainId,
Expand All @@ -129,7 +129,7 @@ export function useCloseLong({
window.plausible("transactionSubmit", {
props: {
transactionHash: hash,
transactionsType: "close",
transactionType: "close",
positionType: "long",
poolAddress: hyperdriveAddress,
chainId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export function useOpenLong({
window.plausible("transactionSuccess", {
props: {
transactionHash: txHash,
transactionsType: "open",
transactionType: "open",
positionType: "long",
poolAddress: hyperdriveAddress,
chainId,
Expand Down Expand Up @@ -135,7 +135,7 @@ export function useOpenLong({
window.plausible("transactionSubmit", {
props: {
transactionHash: hash,
transactionsType: "open",
transactionType: "open",
positionType: "long",
poolAddress: hyperdriveAddress,
chainId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export function useAddLiquidity({
window.plausible("transactionSuccess", {
props: {
transactionHash: txHash,
transactionsType: "open",
transactionType: "open",
positionType: "lp",
poolAddress: hyperdriveAddress,
chainId,
Expand All @@ -135,7 +135,7 @@ export function useAddLiquidity({
window.plausible("transactionSubmit", {
props: {
transactionHash: hash,
transactionsType: "open",
transactionType: "open",
positionType: "lp",
poolAddress: hyperdriveAddress,
chainId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function useRedeemWithdrawalShares({
window.plausible("transactionSuccess", {
props: {
transactionHash,
transactionsType: "close",
transactionType: "close",
positionType: "lp",
poolAddress: hyperdriveAddress,
chainId,
Expand All @@ -98,7 +98,7 @@ export function useRedeemWithdrawalShares({
window.plausible("transactionSubmit", {
props: {
transactionHash: hash,
transactionsType: "close",
transactionType: "close",
positionType: "lp",
poolAddress: hyperdriveAddress,
chainId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function useRemoveLiquidity({
window.plausible("transactionSuccess", {
props: {
transactionHash: txHash,
transactionsType: "close",
transactionType: "close",
positionType: "lp",
poolAddress: hyperdriveAddress,
chainId,
Expand All @@ -122,7 +122,7 @@ export function useRemoveLiquidity({
window.plausible("transactionSubmit", {
props: {
transactionHash: hash,
transactionsType: "close",
transactionType: "close",
positionType: "lp",
poolAddress: hyperdriveAddress,
chainId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export function useCloseShort({
window.plausible("transactionSuccess", {
props: {
transactionHash: hash,
transactionsType: "close",
transactionType: "close",
positionType: "short",
poolAddress: hyperdriveAddress,
chainId,
Expand All @@ -125,7 +125,7 @@ export function useCloseShort({
window.plausible("transactionSubmit", {
props: {
transactionHash: hash,
transactionsType: "close",
transactionType: "close",
positionType: "short",
poolAddress: hyperdriveAddress,
chainId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export function useOpenShort({
window.plausible("transactionSuccess", {
props: {
transactionHash: txHash,
transactionsType: "open",
transactionType: "open",
positionType: "short",
poolAddress: hyperdriveAddress,
chainId,
Expand All @@ -146,7 +146,7 @@ export function useOpenShort({
window.plausible("transactionSubmit", {
props: {
transactionHash: hash,
transactionsType: "open",
transactionType: "open",
positionType: "short",
poolAddress: hyperdriveAddress,
chainId,
Expand Down

0 comments on commit 7502b6f

Please sign in to comment.