Skip to content

Commit ae9cf24

Browse files
committed
Improved me page
1 parent 8031e58 commit ae9cf24

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pages/dev/me/+Page.client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import h from "@macrostrat/hyper";
22
import { DocumentationPage } from "~/layouts";
33
import { AuthStatus, useAuth } from "@macrostrat/auth-components";
4-
import { usePostgresQuery } from "#/integrations/xdd/extractions/lib/data-service";
4+
import { usePostgresQuery } from "#/integrations/xdd/extractions/data-service";
55

66
export function Page() {
77
return h(DocumentationPage, { title: "Login" }, [

pages/integrations/xdd/extractions/data-service.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ export function usePostgresQuery(
1616
) {
1717
const [data, setData] = useState(null);
1818

19+
useEffect(() => {
20+
console.warn("usePostgresQuery should be moved to a separate package");
21+
}, []);
22+
1923
let _filters: FilterDef[] = [];
2024
if (filters != null) {
2125
if (!Array.isArray(filters)) {

0 commit comments

Comments
 (0)