Skip to content

Commit

Permalink
fix(web): graphql-types import
Browse files Browse the repository at this point in the history
  • Loading branch information
waltergalvao committed Jan 30, 2025
1 parent 809b671 commit 88e55c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
Button,
Tooltip,
} from "@mantine/core";
import { DigestFrequency } from "@sweetr/graphql-types/api";
import {
IconBrandSlack,
IconClock,
Expand All @@ -25,7 +24,10 @@ import {
import { BoxSetting } from "../../../../../../../components/box-setting";
import { SelectHour } from "../../../../../../../components/select-hour";
import { SelectTimezone } from "../../../../../../../components/select-timezone/select-timezone";
import { DayOfTheWeek } from "@sweetr/graphql-types/frontend/graphql";
import {
DayOfTheWeek,
DigestFrequency,
} from "@sweetr/graphql-types/frontend/graphql";
import { useEffect, useRef } from "react";
import { useSendTestMessage } from "../../../../use-send-test-message";

Expand Down
3 changes: 1 addition & 2 deletions apps/web/src/app/teams/[id]/digests/use-digests.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Digest } from "@sweetr/graphql-types/frontend/graphql";
import { Digest, DigestType } from "@sweetr/graphql-types/frontend/graphql";
import { objectify } from "radash";
import { DigestType } from "@sweetr/graphql-types/api";
import { useTeamDigestsQuery } from "../../../../api/digest.api";
import { useWorkspace } from "../../../../providers/workspace.provider";

Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/app/teams/[id]/use-send-test-message.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { IntegrationApp } from "@sweetr/graphql-types/api";
import { showSuccessNotification } from "../../../providers/notification.provider";
import { getErrorMessage } from "../../../providers/error-message.provider";
import { useSendTestMessageMutation } from "../../../api/integrations.api";
import { useWorkspace } from "../../../providers/workspace.provider";
import { showErrorNotification } from "../../../providers/notification.provider";
import { IntegrationApp } from "@sweetr/graphql-types/frontend/graphql";

export const useSendTestMessage = () => {
const { workspace } = useWorkspace();
Expand Down

0 comments on commit 88e55c1

Please sign in to comment.