Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Nov 9, 2024
1 parent 4d8466f commit 3c9373b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion app/Actions/Payment/UpdateCustomerAction.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import type { RequestInstance } from '@stacksjs/types'
import { Action } from '@stacksjs/actions'
import User from '../../../storage/framework/orm/src/models/User.ts'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function handleCopyCode() {
<p class="my-3 text-base">
Render the toaster in the root of your app.
</p>
<div class="code-block group relative">
<div class="group code-block relative">
<Highlight
class-name="rounded-md text-xs"
language="xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async function createPaymentIntent() {
async function loadElements() {
if (stripe) {
const appearance = { /* appearance options */ }
const options = { mode: 'billing' }
// const options = { mode: 'billing' }
// Create the elements instance once
elements = stripe.elements({ clientSecret: clientSecret.value, appearance })
Expand Down Expand Up @@ -145,7 +145,7 @@ async function handleSubmit() {
Items in your cart
</h3>
<ul role="list" class="divide-y divide-gray-200">
<li v-for="product in products" class="flex px-4 py-6 sm:px-6">
<li v-for="(product, index) in products" :key="index" class="flex px-4 py-6 sm:px-6">
<div class="flex-shrink-0">
<img :src="product?.images" alt="Front of men&#039;s Basic Tee in black." class="w-50 rounded-md">
</div>
Expand Down
2 changes: 1 addition & 1 deletion storage/framework/core/payments/src/drivers/stripe.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import process from 'node:process'
import Stripe from 'stripe'
import process from 'process'

const apiKey = process.env.STRIPE_SECRET_KEY || ''

Expand Down
3 changes: 2 additions & 1 deletion storage/framework/core/plugins/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { plugin } from 'bun'
export { plugin }
export type { BunPlugin, VitePlugin }

export function addStack(name: string) {
export function addStack(name: string): void {

// Add a stack to the stack list
}

0 comments on commit 3c9373b

Please sign in to comment.