File tree Expand file tree Collapse file tree 4 files changed +3
-4
lines changed
Expand file tree Collapse file tree 4 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { GET_PRODUCTS_FROM_CATEGORY } from 'utils/gql/GQL_QUERIES';
1212 * Display a single product with dynamic pretty urls
1313 */
1414const Produkt = ( { categoryName, products } ) => {
15- let error = false ;
15+ const error = false ;
1616
1717 return (
1818 < >
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { GET_SINGLE_PRODUCT } from 'utils/gql/GQL_QUERIES';
1111 * Display a single product with dynamic pretty urls
1212 */
1313const Produkt = ( { product } ) => {
14- let error = false ;
14+ const error = false ;
1515
1616 return (
1717 < >
Original file line number Diff line number Diff line change 1- //exports.default = [
21const LINKS = [
32 {
43 id : 0 ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import WOO_CONFIG from 'utils/config/nextConfig';
1010export const trimmedStringToLength = ( string , length ) => {
1111 if ( string . length > length ) {
1212 const subStr = string . substring ( 0 , length ) ;
13- return subStr + ' ...' ;
13+ return ` ${ subStr } ...` ;
1414 }
1515 return string ;
1616} ;
You can’t perform that action at this time.
0 commit comments