From 21b73ff433701a5b4fac4654ef0fcaf198fc1485 Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 15 Mar 2021 17:45:06 +1100 Subject: [PATCH] update ft build doc url --- www/src/components/Table/ColumnMenu/FieldSettings/index.tsx | 2 +- www/src/components/Table/TableHeader/Sparks.tsx | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/www/src/components/Table/ColumnMenu/FieldSettings/index.tsx b/www/src/components/Table/ColumnMenu/FieldSettings/index.tsx index 223433d3..c558b87c 100644 --- a/www/src/components/Table/ColumnMenu/FieldSettings/index.tsx +++ b/www/src/components/Table/ColumnMenu/FieldSettings/index.tsx @@ -139,7 +139,7 @@ export default function FieldSettings(props: IMenuModalProps) { if (!ftBuildUrl) { snack.open({ message: - "Cloud Run trigger URL not configured. Configuration guide: https://github.com/AntlerVC/firetable/wiki/Configure-Cloud-Run-trigger-URL", + "Cloud Run trigger URL not configured. Configuration guide: https://github.com/AntlerVC/firetable/wiki/Setting-up-cloud-Run-FT-Builder", variant: "error", }); } diff --git a/www/src/components/Table/TableHeader/Sparks.tsx b/www/src/components/Table/TableHeader/Sparks.tsx index eac77d3f..e1ab4e71 100644 --- a/www/src/components/Table/TableHeader/Sparks.tsx +++ b/www/src/components/Table/TableHeader/Sparks.tsx @@ -18,7 +18,6 @@ import { useAppContext } from "contexts/AppContext"; import CodeEditor from "../editors/CodeEditor"; export default function SparksEditor() { - const snack = useSnackContext(); const { tableState, tableActions } = useFiretableContext(); const appContext = useAppContext(); @@ -54,7 +53,7 @@ export default function SparksEditor() { if (!ftBuildUrl) { snack.open({ message: - "Cloud Run trigger URL not configured. Configuration guide: https://github.com/AntlerVC/firetable/wiki/Configure-Cloud-Run-trigger-URL", + "Cloud Run trigger URL not configured. Configuration guide: https://github.com/AntlerVC/firetable/wiki/Setting-up-cloud-Run-FT-Builder", variant: "error", }); }