Skip to content

Commit

Permalink
Typofix
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Vaughn committed Feb 17, 2020
1 parent e3ecb1b commit 4048476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text/0000-use-mutable-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const locationSource = createMutableSource(window, {

// Because this method doesn't require access to props,
// it can be declared in module scope to be shared between components.
const getSnapshot = window => win.location.pathname;
const getSnapshot = window => window.location.pathname;

// This method can subscribe to root level change events,
// or more snapshot-specific events.
Expand Down

0 comments on commit 4048476

Please sign in to comment.