fix: f-client-nav={false} not working inside island (#2677)
See https://github.com/denoland/fresh/issues/2658
This commit is contained in:
@@ -26,6 +26,7 @@ import { Multiple1, Multiple2 } from "./fixtures_islands/Multiple.tsx";
|
||||
import { Foo } from "./fixture_island_groups/routes/foo/(_islands)/Foo.tsx";
|
||||
import { NodeProcess } from "./fixtures_islands/NodeProcess.tsx";
|
||||
import { FreshAttrs } from "./fixtures_islands/FreshAttrs.tsx";
|
||||
import { OptOutPartialLink } from "./fixtures_islands/OptOutPartialLink.tsx";
|
||||
|
||||
export function getIsland(pathname: string) {
|
||||
return path.join(
|
||||
@@ -397,6 +398,11 @@ export const allIslandApp = new App()
|
||||
.island(getIsland("SelfCounter.tsx"), "SelfCounter", SelfCounter)
|
||||
.island(getIsland("NodeProcess.tsx"), "NodeProcess", NodeProcess)
|
||||
.island(getIsland("FreshAttrs.tsx"), "FreshAttrs", FreshAttrs)
|
||||
.island(
|
||||
getIsland("OptOutPartialLink.tsx"),
|
||||
"OptOutPartialLink",
|
||||
OptOutPartialLink,
|
||||
)
|
||||
.island(
|
||||
getIsland("../fixture_island_groups/routes/foo/(_islands)/Foo.tsx"),
|
||||
"Foo",
|
||||
|
||||
Reference in New Issue
Block a user