Skip to content

Commit

Permalink
Fix for whitelist not working issue. (#207)
Browse files Browse the repository at this point in the history
Closes #191
  • Loading branch information
dweee authored Dec 20, 2024
1 parent b99fd55 commit b9d5328
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Searching.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import React from "react";
import { assertUnreachable, getCurrentPageUnfollowers, getMaxPage, getUsersForDisplay } from "../utils/utils";
import { State } from "../model/state";
import { UserNode } from "../model/user";
import { WHITELISTED_RESULTS_STORAGE_KEY } from "../constants/constants";


export interface SearchingProps {
state: State;
Expand Down Expand Up @@ -233,7 +235,7 @@ export const Searching = ({
assertUnreachable(state.currentTab);
}
localStorage.setItem(
"WHITELISTED_RESULTS_STORAGE_KEY",
WHITELISTED_RESULTS_STORAGE_KEY,
JSON.stringify(whitelistedResults),
);
setState({ ...state, whitelistedResults });
Expand Down

0 comments on commit b9d5328

Please sign in to comment.