From ed5c57aefb3d8c14bd8da862b9b5fd7a56269dae Mon Sep 17 00:00:00 2001 From: Alican Erdurmaz Date: Tue, 4 Jun 2024 16:08:01 +0300 Subject: [PATCH 1/2] fix html title tests --- cypress/e2e/build-test.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/build-test.cy.js b/cypress/e2e/build-test.cy.js index c42b2cb6..0550b452 100644 --- a/cypress/e2e/build-test.cy.js +++ b/cypress/e2e/build-test.cy.js @@ -122,7 +122,7 @@ describe("build test", () => { Cypress.env("FRAMEWORK") !== "remix" && Cypress.env("FRAMEWORK") !== "nextjs" ) { - cy.title().should("eq", "Blog posts | refine"); + cy.title().should("eq", "Blog posts | Refine"); } if (Cypress.env("UI_FRAMEWORK") !== "no") { From 56803167a8a8ecb9022917e8061b861e8def20c6 Mon Sep 17 00:00:00 2001 From: Alican Erdurmaz Date: Tue, 4 Jun 2024 16:34:19 +0300 Subject: [PATCH 2/2] fix: add use client directive to header --- refine-nextjs/plugins/mui/src/components/header/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/refine-nextjs/plugins/mui/src/components/header/index.tsx b/refine-nextjs/plugins/mui/src/components/header/index.tsx index cecce2c6..7e7240e7 100644 --- a/refine-nextjs/plugins/mui/src/components/header/index.tsx +++ b/refine-nextjs/plugins/mui/src/components/header/index.tsx @@ -1,3 +1,5 @@ +'use client' + import { ColorModeContext } from "@contexts/color-mode"; import DarkModeOutlined from "@mui/icons-material/DarkModeOutlined"; import LightModeOutlined from "@mui/icons-material/LightModeOutlined";