docs: fix code block titles (#5733)
* docs: fix code block titles * remove console * fix build error
This commit is contained in:
+2
-2
@@ -19,7 +19,7 @@ If you’re interested in learning what a price selection strategy is and how it
|
||||
|
||||
Create a TypeScript or JavaScript file in `src/strategies` of your Medusa backend project with a class that extends the `AbstractPriceSelectionStrategy` class:
|
||||
|
||||
```ts title=src/strategies/price.ts
|
||||
```ts title="src/strategies/price.ts"
|
||||
import {
|
||||
AbstractPriceSelectionStrategy,
|
||||
PriceSelectionContext,
|
||||
@@ -51,7 +51,7 @@ You can resolve resources like services or repositories using [dependency inject
|
||||
|
||||
For example:
|
||||
|
||||
```ts title=src/strategies/price.ts
|
||||
```ts title="src/strategies/price.ts"
|
||||
import {
|
||||
AbstractPriceSelectionStrategy,
|
||||
CustomerService,
|
||||
|
||||
Reference in New Issue
Block a user