function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Navigationmixin not working as expected (LWC)

This code throws an error -  "This page has an error. You might just need to refresh it" . Anything wrong with the code? 
if(this.allowCreditCheck === false){
            type: 'standard__recordPage',
            attributes: {
                recordId: "001R000001RQLHfIAP",
                actionName: 'view'