Skip to content

Commit

Permalink
Fix demos (#15)
Browse files Browse the repository at this point in the history
* Fix publishers demo removed by mistake

* Fix react identify demo response error check
  • Loading branch information
zapo authored Oct 5, 2020
1 parent c37f3be commit 03e1f65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN make react

FROM nginx:1.17 AS run
WORKDIR /usr/share/nginx/html
COPY --from=build /build/publishers ./
COPY --from=build /build/publishers/ ./publishers/
COPY --from=build /build/vanilla/targeting/gam360.html ./vanilla/targeting/gam360.html
COPY --from=build /build/vanilla/identify.html ./vanilla/identify.html
COPY --from=build /build/react/dist/ ./react/dist/
Expand Down
2 changes: 1 addition & 1 deletion demos/react/src/identify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function RequestDetails({ email, ppid, response }: RequestDetailsProps) {
</>
)}
{response &&
(response.error ? (
(!response.error ? (
"Sent"
) : (
<>
Expand Down

0 comments on commit 03e1f65

Please sign in to comment.