-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(webpage): remove widget Phone Pressure
- Loading branch information
1 parent
abeb44b
commit f37a9a6
Showing
4 changed files
with
4 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 2 additions & 18 deletions
20
clients/packages/webpage-client/src/components/PhoneWidgetConnected.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
38 changes: 0 additions & 38 deletions
38
clients/packages/webpage-client/src/pages/api/phone/[widget_id]/create.ts
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
clients/packages/webpage-client/src/pages/api/phone/call/[call_id]/status.ts
This file was deleted.
Oops, something went wrong.