Skip to content

Commit

Permalink
fix(webpage): remove widget Phone Pressure
Browse files Browse the repository at this point in the history
  • Loading branch information
igr-santos committed Oct 30, 2024
1 parent abeb44b commit f37a9a6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 92 deletions.
7 changes: 2 additions & 5 deletions clients/packages/webpage-client/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,14 @@ module.exports = withTM(
// Variáveis acessíveis apenas no servidor (não expostas no cliente)
serverRuntimeConfig: {
apiGraphqlSecret: process.env.REACT_APP_API_GRAPHQL_SECRET,
pagarmeKey: process.env.REACT_APP_PAGARME_KEY,
openApiToken: process.env.REACT_APP_OPENAPI_TOKEN,
pagarmeKey: process.env.REACT_APP_PAGARME_KEY
},
publicRuntimeConfig: {
domainImaginary: process.env.REACT_APP_DOMAIN_IMAGINARY,
domainApiRest: process.env.REACT_APP_DOMAIN_API_REST,
domainApiGraphql: process.env.REACT_APP_DOMAIN_API_GRAPHQL,
domainApiGraphqlWs: process.env.REACT_APP_DOMAIN_API_GRAPHQL_WS,
domainPublic: process.env.REACT_APP_DOMAIN_PUBLIC,
openApiUrl: process.env.REACT_APP_OPENAPI_URL,
openApiCampaignId: process.env.REACT_APP_OPENAPI_CAMPAIGN_ID
domainPublic: process.env.REACT_APP_DOMAIN_PUBLIC
},
})
);
Original file line number Diff line number Diff line change
@@ -1,24 +1,8 @@
import React from 'react';
import { FinishMessageCustom } from "../bonde-webpage";
import PhoneWidget from '../bonde-webpage/plugins/Phone';
import PhoneTellAFriend from '../bonde-webpage/plugins/Phone/TellAFriend';
import Utils from '../Utils';


const PhoneWidgetConnected = (props: any) => (
<PhoneWidget
{...props}
overrides={{
FinishCustomMessage: { component: FinishMessageCustom },
FinishDefaultMessage: {
component: PhoneTellAFriend,
props: {
imageUrl: Utils.imageUrl,
href: Utils.getSharedPath(props.mobilization),
},
},
}}
/>
const PhoneWidgetConnected = () => (
<div title="Pressão por Telefone Desabilitada"></div>
)

export default PhoneWidgetConnected

This file was deleted.

This file was deleted.

0 comments on commit f37a9a6

Please sign in to comment.