Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
rrousselGit committed Jan 31, 2024
1 parent 6614859 commit 5a15fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firebase-vscode/src/firemat/connect-instance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function registerFirebaseDataConnectView(
// Handle cases where the emulator is the currently selected instance,
// and the emulator is stopped.
// This also initializes the selectedInstance value to the first instance.
function syncSelectedInstance() {
function initializeSelectedInstance() {
return effect(() => {
const isSelectedInstanceInOptions = instanceOptions.value?.includes(
selectedInstance.value,
Expand Down Expand Up @@ -70,7 +70,7 @@ export function registerFirebaseDataConnectView(

selectedInstanceStatus,
{ dispose: syncStatusBarWithSelectedInstance() },
{ dispose: syncSelectedInstance() },
{ dispose: initializeSelectedInstance() },
{
dispose: broker.on("connectToInstance", async () => {
vscode.commands.executeCommand("firebase.firemat.connectToInstance");
Expand Down

0 comments on commit 5a15fda

Please sign in to comment.