test: fix RuleView preview

This commit is contained in:
Kenta Kubo 2025-09-02 01:58:02 +09:00
parent 55b541403e
commit 6faca0f72b
No known key found for this signature in database
GPG key ID: 3D79E20285C94BE8

View file

@ -225,5 +225,7 @@ extension RuleView: View {
}
#Preview {
RuleView(rule: .constant(OnDemandRule(name: "Preview Rule")))
NavigationStack {
RuleView(rule: .constant(OnDemandRule(name: "Preview Rule")))
}
}