From 395fe38b6184ce0ee2908cf49d1676f79e2b4906 Mon Sep 17 00:00:00 2001 From: Nevo David Date: Wed, 4 Sep 2024 23:46:13 +0700 Subject: [PATCH] feat: polotno --- .env.example | 3 ++- apps/frontend/src/components/launches/polonto.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 7fbeb6e3..f99babb4 100644 --- a/.env.example +++ b/.env.example @@ -45,4 +45,5 @@ PINTEREST_CLIENT_ID="" PINTEREST_CLIENT_SECRET="" DRIBBBLE_CLIENT_ID="" DRIBBBLE_CLIENT_SECRET="" -IS_GENERAL="true" \ No newline at end of file +IS_GENERAL="true" +NEXT_PUBLIC_POLOTNO="Polotno key for the gallery" \ No newline at end of file diff --git a/apps/frontend/src/components/launches/polonto.tsx b/apps/frontend/src/components/launches/polonto.tsx index bb0e61a7..d80eb48d 100644 --- a/apps/frontend/src/components/launches/polonto.tsx +++ b/apps/frontend/src/components/launches/polonto.tsx @@ -19,7 +19,7 @@ import { PictureGeneratorSection } from '@gitroom/frontend/components/launches/p import { useUser } from '@gitroom/frontend/components/layout/user.context'; const store = createStore({ - key: 'Aqml_02mqf6YTKC0jYZ8', + key: process.env.NEXT_PUBLIC_POLOTNO!, showCredit: false, });