I want to create React hook to get user settings. Here is a simplified example of that:
import React from "react&q