Spaces:
Sleeping
Sleeping
Add env and set modal to false by default
Browse files- Dockerfile +1 -0
- app/(home)/reports/page.tsx +1 -1
Dockerfile
CHANGED
@@ -28,6 +28,7 @@ COPY . .
|
|
28 |
# ENV NEXT_TELEMETRY_DISABLED 1
|
29 |
|
30 |
ENV NEXT_PUBLIC_CHAT_API https://praneeth-hakeem-patrick-backend.hf.space/api/chat
|
|
|
31 |
|
32 |
RUN \
|
33 |
if [ -f yarn.lock ]; then yarn run build; \
|
|
|
28 |
# ENV NEXT_TELEMETRY_DISABLED 1
|
29 |
|
30 |
ENV NEXT_PUBLIC_CHAT_API https://praneeth-hakeem-patrick-backend.hf.space/api/chat
|
31 |
+
ENV NEXT_PUBLIC_BASE_URL=https://praneeth-hakeem-patrick-backend.hf.space
|
32 |
|
33 |
RUN \
|
34 |
if [ -f yarn.lock ]; then yarn run build; \
|
app/(home)/reports/page.tsx
CHANGED
@@ -9,7 +9,7 @@ import IncomeStatement from "@/app/components/IncomeStatement";
|
|
9 |
const { RangePicker } = DatePicker;
|
10 |
|
11 |
const Reports = () => {
|
12 |
-
const [isModalVisible, setIsModalVisible] = useState(
|
13 |
const searchParams = useSearchParams()
|
14 |
const statement_id = searchParams.get('statement_id')
|
15 |
const [statements, setStatements] = useState([]);
|
|
|
9 |
const { RangePicker } = DatePicker;
|
10 |
|
11 |
const Reports = () => {
|
12 |
+
const [isModalVisible, setIsModalVisible] = useState(false);
|
13 |
const searchParams = useSearchParams()
|
14 |
const statement_id = searchParams.get('statement_id')
|
15 |
const [statements, setStatements] = useState([]);
|