Skip to content

Commit

Permalink
chore: linting and tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
jackstar12 committed Nov 27, 2024
1 parent 36bfd9a commit 1f58844
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/chatwoot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ import { config } from "./config";
import { usePayContext } from "./context/Pay";
import { createEffect, onMount } from "solid-js";

declare global {
interface Window {
chatwootSettings: {
darkMode: string;
};
chatwootSDK: unknown;
$chatwoot: unknown;
}
}

export default function Chatwoot() {
onMount(() => {
const token = import.meta.env.VITE_CHATWOOT_TOKEN;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Pay.tsx
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useParams } from "@solidjs/router";
import log from "loglevel";
import { Match, Show, Switch, createResource, onCleanup, createSignal } from "solid-js";
import { Match, Show, Switch, createResource, onCleanup } from "solid-js";

import BlockExplorerLink from "../components/BlockExplorerLink";
import LoadingSpinner from "../components/LoadingSpinner";
Expand Down

0 comments on commit 1f58844

Please sign in to comment.