You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// It's safe to add a property to the render options here because `.is_basic()` will only return true if path generation is not being used (or anything else)
// We provide the translator through context, which avoids having to define a separate variable for every translation due to Sycamore's `template!` macro taking ownership with `move` closures
224
217
ContextProvider(ContextProviderProps{
225
218
value:Rc::clone(&translator),
226
-
children: || template! {
227
-
// We then provide whether this is being rendered on the client or the server as a context element
228
-
// This allows easy specification of client-side-only logic without having to worry about `web_sys` panicking
0 commit comments