-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make EmailProviderRequest's Cancel be a link to /
- Loading branch information
1 parent
29acf75
commit c191272
Showing
8 changed files
with
12 additions
and
25 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
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
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
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
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
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 |
---|---|---|
|
@@ -15,7 +15,6 @@ | |
let localDotApi: DotApi = defaultDotApi; | ||
let mailTo = createMailto('[email protected]', 'Request to be a Provider', ''); | ||
// a callback for when the user cancels this action | ||
export let cancelAction = () => {}; | ||
dotApi.subscribe((api) => (localDotApi = api)); | ||
|
@@ -64,7 +63,7 @@ | |
<button on:click|preventDefault={doProposeToBeProvider} id="request-2b-provider-btn" class="btn-primary"> | ||
Submit Request To Be Provider</button | ||
> | ||
<button on:click|preventDefault={cancelAction} class="btn-cancel">Cancel</button> | ||
<a href="/" class="btn-cancel">Cancel</a> | ||
</div> | ||
</form> | ||
</div> | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<script lang="ts"> | ||
import BecomeAProvider from '$components/BecomeAProvider.svelte'; | ||
</script> | ||
|
||
<BecomeAProvider /> |