Skip to content

Commit c78270a

Browse files
devamitberaunicoder88
authored andcommitted
Wrong code
referenceBlock should use. Use of wrong
1 parent fb6dbd7 commit c78270a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

10. Customer Management/10.1 Demonstrate ability to customize My Account.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ Describe how to customize the “My Account” section.
1616
* See COPYING.txt for license details.
1717
*/
1818
-->
19-
<page layout="2columns-left" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
19+
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
2020
<body>
21-
<referenceContainer name="customer_account_navigation">
21+
<referenceBlock name="customer_account_navigation">
2222
<block class="Magento\Customer\Block\Account\SortLinkInterface" name="customer-account-navigation-address-link">
2323
<arguments>
2424
<argument name="label" xsi:type="string" translate="true">Russell Special</argument>
2525
<argument name="path" xsi:type="string">special/link</argument>
2626
<argument name="sortOrder" xsi:type="number">165</argument>
2727
</arguments>
2828
</block>
29-
</referenceContainer>
29+
</referenceBlock>
3030
</body>
3131
</page>
3232
```

0 commit comments

Comments
 (0)