Skip to content

Commit

Permalink
[SDPA-2910] Fixed a broken url in docs with other typo fix (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-yao authored Sep 3, 2019
1 parent 4c5a4ab commit d05e203
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/basic-examples/assets/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// The should be managed by sass variables in _theme.scss.
// This custom scss file is designed for any style changes can not be handled by variables.

// A example of attache a text to hero banner.
// A example of attached a text to hero banner.
.rpl-hero-banner {
&:after {
content: 'Text from custom css'
Expand Down
8 changes: 5 additions & 3 deletions examples/basic-examples/store/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { logger } from '@dpc-sdp/ripple-nuxt-tide/lib/core'

export const actions = {
async nuxtServerInit ({ dispatch }) {
async nuxtServerInit ({ dispatch }, { req }) {
try {
await dispatch('tide/init')
await dispatch('tide/init', { requestId: req.requestId })
} catch (error) {
if (process.server) {
console.error(`Tide API server error: ${error}`)
logger.error('Tide API server has an error.', { error, label: 'App' })
}
throw error
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ripple-nuxt-tide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ customization requirement.
### Examples
We have code examples for how to customize your Ripple project. We strongly recommend developers have a look at https://github.com/dpc-sdp/ripple/tree/develop/examples/basic-example first.
We have code examples for how to customize your Ripple project. We strongly recommend developers have a look at https://github.com/dpc-sdp/ripple/tree/develop/examples/basic-examples first.
### Tide Configs
Expand Down

0 comments on commit d05e203

Please sign in to comment.